summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 12:09:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-04 07:50:01 +0100
commit3dde9d988f0c9a432429389359c3531f10a4ff10 (patch)
treef6daed39591bf55907f44218fcac62f389322aa6 /oox
parentda90193c8c0ab1f5403d37902f0037b51659b6d9 (diff)
loplugin:constparams in various(1)
Change-Id: Ic80ca59abc3e104c7adf0c1eff1d16addf48bc8b Reviewed-on: https://gerrit.libreoffice.org/44261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/helper/propertymap.cxx2
-rw-r--r--oox/source/ole/vbaexport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 26928c2013b3..3b7e8e65a089 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -528,7 +528,7 @@ static const char *lclGetEnhancedParameterType( sal_uInt16 nType )
return type;
}
-static void printParameterPairData(int level, EnhancedCustomShapeParameterPair &pp)
+static void printParameterPairData(int level, EnhancedCustomShapeParameterPair const &pp)
{
// These are always sal_Int32s so lets depend on that for our packing ...
sal_Int32 nFirstValue, nSecondValue;
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index 0983a17809ac..cd26bf486615 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -88,7 +88,7 @@ OUString createHexStringFromDigit(sal_uInt8 nDigit)
return aString.toAsciiUpperCase();
}
-OUString createGuidStringFromInt(sal_uInt8 nGuid[16])
+OUString createGuidStringFromInt(sal_uInt8 const nGuid[16])
{
OUStringBuffer aBuffer;
aBuffer.append('{');