svx/source/svdraw/svdoashp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2b62b4021fb91e4f18a0b8eceace52046948a74e Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Nov 28 09:23:07 2023 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Nov 29 09:38:00 2023 +0100 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.mcnam...@collabora.com> 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;