Commit 97a97e47 authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

gcc build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58017 954022d7-b5bf-4e40-9824-e11837661b57
parent 3f8e6efe
...@@ -1110,7 +1110,7 @@ namespace OOX ...@@ -1110,7 +1110,7 @@ namespace OOX
if ( _T("a:path") == sName ) if ( _T("a:path") == sName )
{ {
OOX::Drawing::CPath2D oPath = oReader; OOX::Drawing::CPath2D oPath = oReader;
m_arrPath.Add( oPath ); m_arrPath.push_back( oPath );
} }
} }
} }
...@@ -1118,7 +1118,7 @@ namespace OOX ...@@ -1118,7 +1118,7 @@ namespace OOX
{ {
CString sResult = _T("<a:pathLst>"); CString sResult = _T("<a:pathLst>");
for ( int nIndex = 0; nIndex < m_arrPath.GetSize(); nIndex++ ) for ( int nIndex = 0; nIndex < m_arrPath.size(); nIndex++ )
sResult += m_arrPath[nIndex].toXML(); sResult += m_arrPath[nIndex].toXML();
sResult += _T("</a:pathLst>"); sResult += _T("</a:pathLst>");
...@@ -1227,7 +1227,7 @@ namespace OOX ...@@ -1227,7 +1227,7 @@ namespace OOX
m_arrItems[nIndex] = NULL; m_arrItems[nIndex] = NULL;
} }
m_arrItems.RemoveAll(); m_arrItems.clear();
} }
public: public:
......
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