diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-29 20:37:36 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-01 20:50:07 +0200 |
commit | 85c73e11d81c067d7f604570dc6796108541d7ce (patch) | |
tree | 3270bc0e47fc80fee8d1212b10c3ca405f965735 | |
parent | 66c2360491614597ba1e8b05dff33e6b142e382d (diff) |
escape conditional formatting formulas during xlsx export, fdo#75168
Conflicts:
sc/source/filter/excel/xecontent.cxx
Change-Id: I9ebdb2315b51c2b53d8cfa0486b3ec22a8e0d88d
-rw-r--r-- | sc/source/filter/excel/xecontent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index 706f24cac76d..7fe8b9ab9956 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -941,13 +941,13 @@ void XclExpCFImpl::SaveXml( XclExpXmlStream& rStrm ) if(!IsTextRule(eOperation) && !IsTopBottomRule(eOperation)) { rWorksheet->startElement( XML_formula, FSEND ); - rWorksheet->write(XclXmlUtils::ToOUString( GetRoot().GetDoc(), mrFormatEntry.GetValidSrcPos(), + rWorksheet->writeEscaped(XclXmlUtils::ToOUString( GetRoot().GetDoc(), mrFormatEntry.GetValidSrcPos(), mrFormatEntry.CreateTokenArry( 0 ), GetRoot().GetOpCodeMap() )); rWorksheet->endElement( XML_formula ); if (bFmla2) { rWorksheet->startElement( XML_formula, FSEND ); - rWorksheet->write(XclXmlUtils::ToOUString( GetRoot().GetDoc(), mrFormatEntry.GetValidSrcPos(), + rWorksheet->writeEscaped(XclXmlUtils::ToOUString( GetRoot().GetDoc(), mrFormatEntry.GetValidSrcPos(), mrFormatEntry.CreateTokenArry( 1 ), GetRoot().GetOpCodeMap() )); rWorksheet->endElement( XML_formula ); } |