Commit 697df83a authored by ElenaSubbotina's avatar ElenaSubbotina

. linux build

parent c30be9db
......@@ -6603,8 +6603,8 @@ public:
CString sFilename;
CString sRelsName;
int nChartIndex;
m_oFileWriter.m_oChartWriter.AddChart(sw.GetData(), sRelsName, sFilename, nChartIndex);
std::wstring sContent = sw.GetData();
m_oFileWriter.m_oChartWriter.AddChart(sContent, sRelsName, sFilename, nChartIndex);
m_oFileWriter.m_oContentTypesWriter.AddOverrideRaw(oSaveParams.sAdditionalContentTypes);
OOX::CPath pathChartsRels = pathChartsRelsDir.GetPath() + FILE_SEPARATOR_STR + sFilename + _T(".rels");
......
......@@ -497,7 +497,8 @@ namespace OOX
if(pCell->m_oValue.IsInit())
{
SimpleTypes::COnOff<> oOnOff;
oOnOff.FromString(pCell->m_oValue->ToString());
std::wstring sVal = pCell->m_oValue->ToString();
oOnOff.FromString(sVal.c_str());
pCell->m_oValue.Init();
if(oOnOff.ToBool())
pCell->m_oValue->m_sText = _T("1");
......
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