summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-02 14:32:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-03 07:54:12 +0100
commit6299c8cae923198c55d47320fa8a89bbcd5b0f2b (patch)
tree019ed8f1d754f92fb72c9ae4639ab671bae97018 /xmloff
parentde39e35b21134e9a0f946aabe4859b16a62b248d (diff)
loplugin:constparams
Change-Id: Iebeb531fad5cc819b536788925cf8508737198b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124599 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpcustomshape.cxx2
-rw-r--r--xmloff/source/script/XMLEventExport.cxx2
2 files changed, 2 insertions, 2 deletions
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<XNameAccess> const & rAccess )
/// export a singular event and write <office:events> container
void XMLEventExport::ExportSingleEvent(
- Sequence<PropertyValue>& rEventValues,
+ const Sequence<PropertyValue>& rEventValues,
const OUString& rApiEventName,
bool bUseWhitespace )
{