summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfe.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 11:49:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 13:03:29 +0200
commit8bedbc3f567f3f6d567376ccf0830160df1d4bbb (patch)
treed3f4292a0529dbced8916abd3a6cef53ae6ad2b5 /xmloff/source/style/xmlnumfe.cxx
parentf24b46c27243b88e4d367d7b105d1365e97dbd76 (diff)
loplugin:constparams in xmloff
Change-Id: Iec9535b106c85e47ddb14eec4ef3db5b1c8d8fd7 Reviewed-on: https://gerrit.libreoffice.org/40219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 1b2b42b120c9..a1ee8d905804 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -932,7 +932,7 @@ bool SvXMLNumFmtExport::WriteTextWithCurrency_Impl( const OUString& rString,
return bRet; // true: currency element written
}
-static OUString lcl_GetDefaultCalendar( SvNumberFormatter* pFormatter, LanguageType nLang )
+static OUString lcl_GetDefaultCalendar( SvNumberFormatter const * pFormatter, LanguageType nLang )
{
// get name of first non-gregorian calendar for the language
@@ -1903,7 +1903,7 @@ void SvXMLNumFmtExport::SetWasUsed(const uno::Sequence<sal_Int32>& rWasUsed)
pUsedList->SetWasUsed(rWasUsed);
}
-static const SvNumberformat* lcl_GetFormat( SvNumberFormatter* pFormatter,
+static const SvNumberformat* lcl_GetFormat( SvNumberFormatter const * pFormatter,
sal_uInt32 nKey )
{
return ( pFormatter != nullptr ) ? pFormatter->GetEntry( nKey ) : nullptr;