diff options
author | Eike Rathke <erack@redhat.com> | 2014-01-21 00:27:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-01-21 00:36:17 +0100 |
commit | af43015cd7316b7d611b357a96a415c23b51db5d (patch) | |
tree | d59faa58655501e235854291e3fab92e997daccb /sc/source | |
parent | e5ad31e2f784856506c28092166dc8704c84e868 (diff) |
renamed misleading names
Formula is a formatted text, and RawString isn't raw at all.
Change-Id: I2e4455401c47bd1215576b24f6041248cc7f5a90
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 56399a59452c..05d5735cdd58 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -206,7 +206,7 @@ OUString lcl_RangeSequenceToString( return aResult.makeStringAndClear(); } -OUString lcl_GetRawString( ScDocument* pDoc, const ScAddress& rPos ) +OUString lcl_GetFormattedString( ScDocument* pDoc, const ScAddress& rPos ) { // return text/edit cell string content, with line feeds in edit cells @@ -3169,13 +3169,13 @@ void ScXMLExport::WriteCell(ScMyCell& aCell, sal_Int32 nEqualCellCount) break; case table::CellContentType_TEXT : { - OUString sFormula(lcl_GetRawString(pDoc, aCellPos)); + OUString sFormattedString(lcl_GetFormattedString(pDoc, aCellPos)); OUString sCellString = aCell.maBaseCell.getString(pDoc); GetNumberFormatAttributesExportHelper()->SetNumberFormatAttributes( - sCellString, sFormula, true, true); + sCellString, sFormattedString, true, true); if( getDefaultVersion() > SvtSaveOptions::ODFVER_012 ) GetNumberFormatAttributesExportHelper()->SetNumberFormatAttributes( - sCellString, sFormula, false, true, XML_NAMESPACE_CALC_EXT); + sCellString, sFormattedString, false, true, XML_NAMESPACE_CALC_EXT); } break; case table::CellContentType_FORMULA : |