diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 09:40:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 11:24:33 +0200 |
commit | 3b8e53f66ffd4d631a850fe76250124dc4a195c3 (patch) | |
tree | 2613882a4876f0a66324b7e29e61c46b3ec451b0 /oox | |
parent | d242a19dbdd53b7ae0b6a6ceacca6aa1b6ac54a9 (diff) |
loplugin:constparams improve handling of pointer params
Change-Id: I4c0002e72703eded435bfe4985f5b0121bf8524b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122843
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 4 | ||||
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index abb6115b08c0..50a3c6ae5528 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -266,7 +266,7 @@ void Shape::addShape( const Theme* pTheme, const Reference< XShapes >& rxShapes, const basegfx::B2DHomMatrix& aTransformation, - FillProperties& rShapeOrParentShapeFillProps, + const FillProperties& rShapeOrParentShapeFillProps, ShapeIdMap* pShapeMap, oox::drawingml::ShapePtr pParentGroupShape) { @@ -679,7 +679,7 @@ Reference< XShape > const & Shape::createAndInsert( bool bClearText, bool bDoNotInsertEmptyTextBody, basegfx::B2DHomMatrix& aParentTransformation, - FillProperties& rShapeOrParentShapeFillProps, + const FillProperties& rShapeOrParentShapeFillProps, oox::drawingml::ShapePtr pParentGroupShape) { bool bIsEmbMedia = false; diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index e2052dc93909..452b5f5ef851 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2230,7 +2230,7 @@ void ChartExport::exportDoughnutChart( const Reference< chart2::XChartType >& xC namespace { -void writeDataLabelsRange(FSHelperPtr& pFS, XmlFilterBase* pFB, DataLabelsRange& rDLblsRange) +void writeDataLabelsRange(const FSHelperPtr& pFS, const XmlFilterBase* pFB, DataLabelsRange& rDLblsRange) { if (rDLblsRange.empty()) return; |