summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/XMLNumberStyles.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/XMLNumberStyles.cxx')
-rw-r--r--xmloff/source/draw/XMLNumberStyles.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx
index ff6a809e7c8d..5c5a0e63c584 100644
--- a/xmloff/source/draw/XMLNumberStyles.cxx
+++ b/xmloff/source/draw/XMLNumberStyles.cxx
@@ -438,7 +438,7 @@ void SdXMLNumberStylesExporter::exportDateStyle( SdXMLExport& rExport, sal_Int32
}
}
-OUString SdXMLNumberStylesExporter::getTimeStyleName(const sal_Int32 nTimeFormat )
+const OUString & SdXMLNumberStylesExporter::getTimeStyleName(const sal_Int32 nTimeFormat )
{
sal_Int32 nFormat = nTimeFormat;
if( nFormat > 1 )
@@ -450,7 +450,7 @@ OUString SdXMLNumberStylesExporter::getTimeStyleName(const sal_Int32 nTimeFormat
}
else
{
- return OUString();
+ return EMPTY_OUSTRING;
}
}