summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 18:31:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 21:18:29 +0200
commit18f202011661397d10ca4c2fa28fcf57b62221b0 (patch)
tree5a867f5bee6205e13172bb5c61315552d5dc9870 /oox
parent2e74c1107bc8422ee7a819722f3f0a366127330f (diff)
loplugin:constparams
Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
-rw-r--r--oox/source/vml/vmlshape.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 196f6a8ae125..ebcc11ceae3a 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1863,7 +1863,7 @@ void DrawingML::WriteShapeTransformation( const Reference< XShape >& rXShape, sa
bFlipHWrite, bFlipVWrite, ExportRotateClockwisify(nRotation + nCameraRotation), IsGroupShape( rXShape ));
}
-static OUString lcl_GetTarget(const css::uno::Reference<css::frame::XModel>& xModel, OUString& rURL)
+static OUString lcl_GetTarget(const css::uno::Reference<css::frame::XModel>& xModel, std::u16string_view rURL)
{
Reference<drawing::XDrawPagesSupplier> xDPS(xModel, uno::UNO_QUERY_THROW);
Reference<drawing::XDrawPages> xDrawPages(xDPS->getDrawPages(), uno::UNO_SET_THROW);
diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index 4e4b848db941..8da6af119df1 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -1070,7 +1070,7 @@ namespace
pShape->NbcMirror(aCenter, aPoint2);
}
- void handleMirroring(const ShapeTypeModel& rTypeModel, Reference<XShape>& rxShape)
+ void handleMirroring(const ShapeTypeModel& rTypeModel, const Reference<XShape>& rxShape)
{
if (!rTypeModel.maFlip.isEmpty())
{
@@ -1084,7 +1084,7 @@ namespace
}
}
- void handleRotation(const ShapeTypeModel& rTypeModel, Reference<XShape>& rxShape)
+ void handleRotation(const ShapeTypeModel& rTypeModel, const Reference<XShape>& rxShape)
{
if (!rTypeModel.maRotation.isEmpty())
{