[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Oct 27 08:39:07 PDT 2013


 sc/source/filter/xml/xmlexprt.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 591827c9ad0bec8b608bec63942aa7daf87dc5a0
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Oct 27 16:32:30 2013 +0100

    fix cell text and unformatted cell text correctly, fdo#70275
    
    Change-Id: I0a37af434a9527ebf1e790d9c3ebd519b7684955

diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 8bc1cda..5454438 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 :


More information about the Libreoffice-commits mailing list