Commit b989aab7 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

remove WriteSafeArray

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58506 954022d7-b5bf-4e40-9824-e11837661b57
parent 3f4c7b3d
...@@ -386,12 +386,6 @@ namespace BinDocxRW ...@@ -386,12 +386,6 @@ namespace BinDocxRW
m_oStream.WriteStringW(sFontName); m_oStream.WriteStringW(sFontName);
} }
}; };
void WriteSafeArray(SAFEARRAY* pBinaryObj)
{
int nCurPos = WriteItemWithLengthStart();
m_oStream.WriteBYTEArray((BYTE *)pBinaryObj->pvData, pBinaryObj->rgsabound[0].cElements);
WriteItemWithLengthEnd(nCurPos);
}
void WriteBytesArray(BYTE* pData, long nDataSize) void WriteBytesArray(BYTE* pData, long nDataSize)
{ {
int nCurPos = WriteItemWithLengthStart(); int nCurPos = WriteItemWithLengthStart();
......
...@@ -96,12 +96,6 @@ namespace BinXlsxRW { ...@@ -96,12 +96,6 @@ namespace BinXlsxRW {
} }
} }
} }
void BinaryCommonWriter::WriteSafeArray(SAFEARRAY* pBinaryObj)
{
int nCurPos = WriteItemWithLengthStart();
m_oStream.WriteBYTEArray((BYTE *)pBinaryObj->pvData, pBinaryObj->rgsabound[0].cElements);
WriteItemWithLengthEnd(nCurPos);
}
void BinaryCommonWriter::WriteBytesArray(BYTE* pData, long nDataSize) void BinaryCommonWriter::WriteBytesArray(BYTE* pData, long nDataSize)
{ {
int nCurPos = WriteItemWithLengthStart(); int nCurPos = WriteItemWithLengthStart();
......
...@@ -15,7 +15,6 @@ namespace BinXlsxRW { ...@@ -15,7 +15,6 @@ namespace BinXlsxRW {
int WriteItemWithLengthStart(); int WriteItemWithLengthStart();
void WriteItemWithLengthEnd(int nStart); void WriteItemWithLengthEnd(int nStart);
void WriteColor(const OOX::Spreadsheet::CColor& color, OOX::Spreadsheet::CIndexedColors* pIndexedColors, OOX::CTheme* theme); void WriteColor(const OOX::Spreadsheet::CColor& color, OOX::Spreadsheet::CIndexedColors* pIndexedColors, OOX::CTheme* theme);
void WriteSafeArray(SAFEARRAY* pBinaryObj);
void WriteBytesArray(BYTE* pData, long nDataSize); void WriteBytesArray(BYTE* pData, long nDataSize);
}; };
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment