diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 22:59:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 08:00:32 +0200 |
commit | 9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d (patch) | |
tree | 345951559eba7aca1ead5ea9ff37450792a6833e /reportdesign | |
parent | Clean up aEmpty (diff) | |
download | core-9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d.tar.gz core-9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d.zip |
Clean up sEmpty
Change-Id: If1b2bfe308caa2bce92e73d2c5c86ee273faed93
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlExport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 26c25515c06d..42c816cdaf17 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -835,7 +835,6 @@ void ORptExport::exportContainer(const Reference< XSection>& _xSection) sal_Int32 nFormatKey = xFormattedField->getFormatKey(); XMLNumberFormatAttributesExportHelper aHelper(GetNumberFormatsSupplier(),*this); bool bIsStandard = false; - OUString sEmpty; sal_Int16 nCellType = aHelper.GetCellType(nFormatKey,bIsStandard); // "Standard" means "no format set, value could be anything", // so don't set a format attribute in this case. @@ -843,7 +842,7 @@ void ORptExport::exportContainer(const Reference< XSection>& _xSection) if (!bIsStandard) { if ( nCellType == util::NumberFormat::TEXT ) - aHelper.SetNumberFormatAttributes(sEmpty, sEmpty); + aHelper.SetNumberFormatAttributes("", ""); else aHelper.SetNumberFormatAttributes(nFormatKey, 0.0, false); } |