Commit 72230ae9 authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

CAtlMap -> std::map

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58794 954022d7-b5bf-4e40-9824-e11837661b57
parent 591ebe79
...@@ -11,7 +11,7 @@ namespace PPTX ...@@ -11,7 +11,7 @@ namespace PPTX
{ {
namespace ContentTypes namespace ContentTypes
{ {
static const OOX::CPath s_filename = L"[Content_Types].xml"; static const OOX::CPath s_filename (_T("[Content_Types].xml"));
class File class File
{ {
......
...@@ -28,7 +28,8 @@ namespace PPTX ...@@ -28,7 +28,8 @@ namespace PPTX
{ {
} }
protected: protected:
CAtlMap<CString, smart_ptr<PPTX::File>> m_container; //CAtlMap<CString, smart_ptr<PPTX::File>> m_container;
std::map<CString, smart_ptr<PPTX::File>> m_container;
size_t m_lMaxRid; size_t m_lMaxRid;
protected: protected:
......
...@@ -37,11 +37,13 @@ namespace PPTX ...@@ -37,11 +37,13 @@ namespace PPTX
m_id = rid; m_id = rid;
return *this; return *this;
} }
#ifdef _WIN32
const RId& operator= (const BSTR& rid) const RId& operator= (const BSTR& rid)
{ {
m_id = (CString)rid; m_id = (CString)rid;
return *this; return *this;
} }
#endif
const RId& operator= (const RId& oSrc) const RId& operator= (const RId& oSrc)
{ {
m_id = oSrc.m_id; m_id = oSrc.m_id;
......
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