diff options
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index fe0a33bc8dd5..09dc864ec3fa 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -2883,8 +2883,7 @@ void ScXMLExport::WriteCell(ScMyCell& aCell, sal_Int32 nEqualCellCount) case table::CellContentType_TEXT : { OUString sFormula(lcl_GetRawString(pDoc, aCellPos)); - if (aCell.maBaseCell.isEmpty()) - aCell.maBaseCell.assign( *pDoc, aCellPos); + aCell.maBaseCell.assign( *pDoc, aCellPos); OUString sCellString = aCell.maBaseCell.getString(pDoc); GetNumberFormatAttributesExportHelper()->SetNumberFormatAttributes( sCellString, sFormula, true, true); |