From 0dca40256320753fdbd42ac9c7de889026d7d469 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Nov 2017 16:38:15 +0200 Subject: loplugin:constparam in vcl,svtools Change-Id: I7a3eb2bfda869e9e66db919f929ead60cf8890a4 Reviewed-on: https://gerrit.libreoffice.org/44209 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svl/source/crypto/cryptosign.cxx | 2 +- svl/source/numbers/zformat.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svl') diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index acb85ae7fe6b..d363542bae57 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -1715,7 +1715,7 @@ namespace { #ifdef SVL_CRYPTO_NSS /// Similar to NSS_CMSAttributeArray_FindAttrByOidTag(), but works directly with a SECOidData. -NSSCMSAttribute* CMSAttributeArray_FindAttrByOidData(NSSCMSAttribute** attrs, SECOidData* oid, PRBool only) +NSSCMSAttribute* CMSAttributeArray_FindAttrByOidData(NSSCMSAttribute** attrs, SECOidData const * oid, PRBool only) { NSSCMSAttribute* attr1, *attr2; diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 1f2012f998ca..d3e48317f4d0 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -466,7 +466,7 @@ static bool lcl_SvNumberformat_IsBracketedPrefix( short nSymbolType ) /** Import extended LCID from Excel */ -OUString SvNumberformat::ImpObtainCalendarAndNumerals( OUStringBuffer& rString, sal_Int32& nPos, +OUString SvNumberformat::ImpObtainCalendarAndNumerals( OUStringBuffer& rString, sal_Int32 nPos, LanguageType& nLang, const LocaleType& aTmpLocale ) { OUString sCalendar; -- cgit v1.2.3