summaryrefslogtreecommitdiff
path: root/xmloff/source/style/numehelp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r--xmloff/source/style/numehelp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index 6f00634c3d41..482857ffcfcc 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -526,7 +526,7 @@ void XMLNumberFormatAttributesExportHelper::SetNumberFormatAttributes(
OUString sCurrency;
sal_Int16 nTypeKey = GetCellType(nNumberFormat, sCurrency, bIsStandard);
if(!bExportCurrencySymbol)
- sCurrency = OUString();
+ sCurrency.clear();
WriteAttributes(nTypeKey, rValue, sCurrency, bExportValue, nNamespace);
}