diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-06 21:21:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-07 10:41:10 +0200 |
commit | c10a40e2b7c7ae849ce0590aa784f7d770241dfb (patch) | |
tree | 837aec59b189a18e68eb094489f1dc771f11e770 | |
parent | c396c55adf0ff26ba35cd4a77345af541ec85c20 (diff) |
cid#1545729 COPY_INSTEAD_OF_MOVE
Change-Id: I0a811d37996e53b9a9a0bddcc265521a1125d594
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170074
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | include/oox/drawingml/shape.hxx | 4 | ||||
-rw-r--r-- | oox/source/drawingml/shape.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index 894d42ca89c3..dbde9abd4bc7 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -209,7 +209,7 @@ public: const basegfx::B2DHomMatrix& aTransformation, const FillProperties& rShapeOrParentShapeFillProps, ShapeIdMap* pShapeMap = nullptr, - oox::drawingml::ShapePtr pParentGroupShape = nullptr); + const oox::drawingml::ShapePtr& pParentGroupShape = nullptr); const css::uno::Reference< css::drawing::XShape > & getXShape() const { return mxShape; } @@ -296,7 +296,7 @@ protected: bool bDoNotInsertEmptyTextBody, basegfx::B2DHomMatrix& aTransformation, const FillProperties& rShapeOrParentShapeFillProps, - oox::drawingml::ShapePtr pParentGroupShape = nullptr + const oox::drawingml::ShapePtr& pParentGroupShape = nullptr ); SAL_DLLPRIVATE void addChildren( diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 4c7de78b8817..ce94175a94aa 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -383,7 +383,7 @@ void Shape::addShape( const basegfx::B2DHomMatrix& aTransformation, const FillProperties& rShapeOrParentShapeFillProps, ShapeIdMap* pShapeMap, - oox::drawingml::ShapePtr pParentGroupShape) + const oox::drawingml::ShapePtr& pParentGroupShape) { SAL_INFO("oox.drawingml", "Shape::addShape: id='" << msId << "'"); @@ -908,7 +908,7 @@ Reference< XShape > const & Shape::createAndInsert( bool bDoNotInsertEmptyTextBody, basegfx::B2DHomMatrix& aParentTransformation, const FillProperties& rShapeOrParentShapeFillProps, - oox::drawingml::ShapePtr pParentGroupShape) + const oox::drawingml::ShapePtr& pParentGroupShape) { bool bIsEmbMedia = false; SAL_INFO("oox.drawingml", "Shape::createAndInsert: id='" << msId << "' service='" << rServiceName << "'"); |