diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-10-27 16:32:30 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-10-27 16:37:28 +0100 |
commit | 591827c9ad0bec8b608bec63942aa7daf87dc5a0 (patch) | |
tree | 434a1c04ddcb7461cc129530120ce06e056bf38e | |
parent | 2a1bb751e1e5d7286fb669d255414bb83e7fd49d (diff) |
fix cell text and unformatted cell text correctly, fdo#70275
Change-Id: I0a37af434a9527ebf1e790d9c3ebd519b7684955
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 8bc1cdad9305..54544381d40b 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -3211,10 +3211,10 @@ void ScXMLExport::WriteCell(ScMyCell& aCell, sal_Int32 nEqualCellCount) OUString sFormula(lcl_GetRawString(pDoc, aCellPos)); OUString sCellString = aCell.maBaseCell.getString(pDoc); GetNumberFormatAttributesExportHelper()->SetNumberFormatAttributes( - sFormula, sCellString, true, true); + sCellString, sFormula, true, true); if( getDefaultVersion() > SvtSaveOptions::ODFVER_012 ) GetNumberFormatAttributesExportHelper()->SetNumberFormatAttributes( - sFormula, sCellString, false, true, XML_NAMESPACE_CALC_EXT); + sCellString, sFormula, false, true, XML_NAMESPACE_CALC_EXT); } break; case table::CellContentType_FORMULA : |