summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 14:33:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 07:46:46 +0100
commit976da2b60ebe4e8bb7c311c1c6325519db6c5bda (patch)
tree2038efb09576df24fac96fe78e93baa73130253e /oox
parent48fd4199a665130947033ee431db766c04d8d023 (diff)
loplugin:constparams in dbaccess..oox
Change-Id: I9c04906dd492c6f8a816f57f40bc31406a871a78 Reviewed-on: https://gerrit.libreoffice.org/66793 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/shape.cxx2
-rw-r--r--oox/source/drawingml/table/tablecell.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index a3891cb44746..09f828e8bfa8 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -426,7 +426,7 @@ static SdrTextHorzAdjust lcl_convertAdjust( ParagraphAdjust eAdjust )
return SDRTEXTHORZADJUST_LEFT;
}
-static void lcl_createPresetShape(uno::Reference<drawing::XShape>& xShape,
+static void lcl_createPresetShape(const uno::Reference<drawing::XShape>& xShape,
const OUString& rClass, const OUString& rPresetType,
const CustomShapePropertiesPtr& pCustomShapePropertiesPtr,
const TextBodyPtr& pTextBody,
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index bfcf750f51e0..f27117fd2b42 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -70,7 +70,7 @@ TableCell::~TableCell()
}
static void applyLineAttributes( const ::oox::core::XmlFilterBase& rFilterBase,
- Reference< XPropertySet > const & rxPropSet, oox::drawingml::LineProperties& rLineProperties,
+ Reference< XPropertySet > const & rxPropSet, oox::drawingml::LineProperties const & rLineProperties,
sal_Int32 nPropId )
{
BorderLine2 aBorderLine;