summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/shape.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-06 21:21:52 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-07 10:41:10 +0200
commitc10a40e2b7c7ae849ce0590aa784f7d770241dfb (patch)
tree837aec59b189a18e68eb094489f1dc771f11e770 /oox/source/drawingml/shape.cxx
parentc396c55adf0ff26ba35cd4a77345af541ec85c20 (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>
Diffstat (limited to 'oox/source/drawingml/shape.cxx')
-rw-r--r--oox/source/drawingml/shape.cxx4
1 files changed, 2 insertions, 2 deletions
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 << "'");