summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-24 14:29:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-25 08:12:17 +0200
commit4a340e36e8d3713806719351f455711c1254a178 (patch)
tree4be5ffdd176b2f45e4f549f7eb4d88da9225c18e /xmloff/source
parent50fc62ce76bc51f18b16eae937761d0a8872df3e (diff)
loplugin:constantparam
add the results files so I can just see the diff in future Change-Id: Ia20a1aa6418be95ed620719cde340c00b7b053e1 Reviewed-on: https://gerrit.libreoffice.org/37988 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source')
-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 9c437ce6f47e..30cba2664d25 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -78,7 +78,7 @@ XMLNumberFormatAttributesExportHelper::~XMLNumberFormatAttributesExportHelper()
sal_Int16 XMLNumberFormatAttributesExportHelper::GetCellType(const sal_Int32 nNumberFormat, OUString& sCurrency, bool& bIsStandard)
{
- XMLNumberFormat aFormat("", nNumberFormat);
+ XMLNumberFormat aFormat(nNumberFormat);
XMLNumberFormatSet::iterator aItr(aNumberFormats.find(aFormat));
XMLNumberFormatSet::iterator aEndItr(aNumberFormats.end());
if (aItr != aEndItr)