Commit 591ebe79 authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

linux build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58792 954022d7-b5bf-4e40-9824-e11837661b57
parent ae5e5ae5
......@@ -86,14 +86,14 @@ namespace PPTX
CString strDir = filename.GetDirectory() + _T("");
if (_T("") == filename.GetExtention())
{
if (type.RelationType() == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject")
if (type.RelationType() == _T("http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"))
{
strFileName += L".bin";
strFileName += _T(".bin");
Relations.registration(rId, type.RelationType(), strDir + strFileName);
}
else if (type.RelationType() =="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image")
else if (type.RelationType() == _T("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"))
{
strFileName += L".wmf" ;
strFileName += _T(".wmf");
Relations.registration(rId, type.RelationType(), strDir + strFileName);
}
}
......@@ -125,4 +125,4 @@ namespace PPTX
} // namespace Rels
} // namespace PPTX
#endif // OOX_RELS_FILE_INCLUDE_H_
\ No newline at end of file
#endif // OOX_RELS_FILE_INCLUDE_H_
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