This commit is contained in:
Elena.Subbotina
2024-01-26 15:10:46 +03:00
parent 13a1d953b8
commit e73992f869
13 changed files with 60 additions and 58 deletions

View File

@ -418,7 +418,7 @@ void OoxConverter::convert(PPTX::Logic::Pic *oox_picture)
if (pVml)
{
std::wstring sShapeId = oox_picture->oleObject->m_sShapeId.get();
boost::unordered_map<std::wstring, OOX::CVmlDrawing::_vml_shape>::iterator pFind = pVml->m_mapShapes.find(sShapeId);
std::map<std::wstring, OOX::CVmlDrawing::_vml_shape>::iterator pFind = pVml->m_mapShapes.find(sShapeId);
if (pVml->m_mapShapes.end() != pFind)
{

View File

@ -611,7 +611,7 @@ void XlsxConverter::convert(OOX::Spreadsheet::CLegacyDrawingHFWorksheet *oox_bac
oox_current_child_document = dynamic_cast<OOX::IFileContainer*>(vmlDrawing.GetPointer());
for (boost::unordered_map<std::wstring, OOX::CVmlDrawing::_vml_shape>::iterator it = vmlDrawing->m_mapShapes.begin(); it!= vmlDrawing->m_mapShapes.end(); ++it)
for (std::map<std::wstring, OOX::CVmlDrawing::_vml_shape>::iterator it = vmlDrawing->m_mapShapes.begin(); it!= vmlDrawing->m_mapShapes.end(); ++it)
{
OOX::Vml::CShape* pShape = dynamic_cast<OOX::Vml::CShape*>(it->second.pElement);