Commit 56cefcb1 authored by ElenaSubbotina's avatar ElenaSubbotina

fix bug #34761

parent fb9edc4f
......@@ -5490,9 +5490,15 @@ namespace BinDocxRW
int nCurPos = m_oBcw.WriteItemWithLengthStart();
NSCommon::smart_ptr<PPTX::CCommonRels> pOldRels = *m_pOfficeDrawingConverter->m_pBinaryWriter->m_pCommonRels;
OOX::CPath chartPath = pChart->GetReadPath();
m_pOfficeDrawingConverter->SetRelsPath(chartPath.GetPath());
BinXlsxRW::BinaryChartWriter oBinaryChartWriter(m_oBcw.m_oStream, m_pOfficeDrawingConverter);
oBinaryChartWriter.WriteCT_ChartSpace(*pChart);
*m_pOfficeDrawingConverter->m_pBinaryWriter->m_pCommonRels = pOldRels;
m_oBcw.WriteItemWithLengthEnd(nCurPos);
}
}
......
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