From 6299c8cae923198c55d47320fa8a89bbcd5b0f2b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 2 Nov 2021 14:32:10 +0200 Subject: loplugin:constparams Change-Id: Iebeb531fad5cc819b536788925cf8508737198b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124599 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/ximpcustomshape.cxx | 2 +- xmloff/source/script/XMLEventExport.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx index ebaf15651950..cf794da63df6 100644 --- a/xmloff/source/draw/ximpcustomshape.cxx +++ b/xmloff/source/draw/ximpcustomshape.cxx @@ -426,7 +426,7 @@ static bool GetNextParameter( css::drawing::EnhancedCustomShapeParameter& rParam static void GetPosition3D( std::vector< css::beans::PropertyValue >& rDest, // e.g. draw:extrusion-viewpoint std::string_view rValue, const EnhancedCustomShapeTokenEnum eDestProp, - SvXMLUnitConverter& rUnitConverter ) + const SvXMLUnitConverter& rUnitConverter ) { drawing::Position3D aPosition3D; if ( rUnitConverter.convertPosition3D( aPosition3D, rValue ) ) diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx index 285bd487c35b..5aed1c76c330 100644 --- a/xmloff/source/script/XMLEventExport.cxx +++ b/xmloff/source/script/XMLEventExport.cxx @@ -150,7 +150,7 @@ void XMLEventExport::ExportExt( Reference const & rAccess ) /// export a singular event and write container void XMLEventExport::ExportSingleEvent( - Sequence& rEventValues, + const Sequence& rEventValues, const OUString& rApiEventName, bool bUseWhitespace ) { -- cgit