Commit 805c24ff authored by ElenaSubbotina's avatar ElenaSubbotina

fix bug 27498

parent 2c4bb7c8
......@@ -6589,6 +6589,9 @@ public:
OOX::CPath pathChartsWorksheetDir = m_oFileWriter.m_oChartWriter.m_sDir + FILE_SEPARATOR_STR + _T("word") + FILE_SEPARATOR_STR +_T("embeddings");
OOX::CSystemUtility::CreateDirectories(pathChartsWorksheetDir.GetPath());
bool oldValueType = m_oFileWriter.m_pDrawingConverter->m_pImageManager->m_bIsWord;
m_oFileWriter.m_pDrawingConverter->m_pImageManager->m_bIsWord = false;
m_oFileWriter.m_pDrawingConverter->SetDstContentRels();
std::wstring sThemeDir;
......@@ -6640,6 +6643,8 @@ public:
m_oFileWriter.m_pDrawingConverter->WriteRels(bstrChartRelType, sRelsName, std::wstring(), &rIdChart);
pDrawingProperty->sChartRels = L"rId" + std::to_wstring( rIdChart);
m_oFileWriter.m_pDrawingConverter->m_pImageManager->m_bIsWord = oldValueType;
}
else
res = c_oSerConstants::ReadUnknown;
......
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