summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdoashp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-11-28 09:23:07 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-11-29 09:38:00 +0100
commit2b62b4021fb91e4f18a0b8eceace52046948a74e (patch)
treeda0e186fc6ffda62370b20a0c1439d21a78706c2 /svx/source/svdraw/svdoashp.cxx
parent66452607f5cbd81570442e646f76eff343cf0986 (diff)
cid#1555536 Use of auto that causes a copy
Change-Id: Iae373b1aa5c25732b0e459778e4e85a3e96f138c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160013 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx/source/svdraw/svdoashp.cxx')
-rw-r--r--svx/source/svdraw/svdoashp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index 21998ff4e339..eeaa5571576b 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -1727,7 +1727,7 @@ SdrGluePoint SdrObjCustomShape::GetVertexGluePoint(sal_uInt16 nPosNum) const
}
Point aPt;
- auto aRectangle = getRectangle();
+ tools::Rectangle aRectangle = getRectangle();
switch (nPosNum)
{
case 0: aPt = aRectangle.TopCenter(); aPt.AdjustY( -nWdt ); break;