svx/source/svdraw/sdrhittesthelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 950e17c1030490928e045600f4b9253c90795a71 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Fri Dec 6 15:29:07 2024 +0200 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sat Dec 7 08:32:42 2024 +0100 tdf#163221 crash in dialog editor regression from commit 65d52af42f329bbe7c5e7d6ac617320f7faa4760 clang-tidy: performance-unnecessary-copy-initialization in svx Change-Id: I48428fe08acdf9590a533c7ea91abe905713b292 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177979 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> (cherry picked from commit a60617b1f2f1eca31177867e575bed57b1b448a3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178017 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/svx/source/svdraw/sdrhittesthelper.cxx b/svx/source/svdraw/sdrhittesthelper.cxx index 94aad39e9b03..9dc3b9118f07 100644 --- a/svx/source/svdraw/sdrhittesthelper.cxx +++ b/svx/source/svdraw/sdrhittesthelper.cxx @@ -136,7 +136,7 @@ bool ViewObjectContactPrimitiveHit( // get primitive sequence sdr::contact::DisplayInfo aDisplayInfo; // have to make a copy of this container here, because it might be changed underneath us - const drawinglayer::primitive2d::Primitive2DContainer& aSequence(rVOC.getPrimitive2DSequence(aDisplayInfo)); + const drawinglayer::primitive2d::Primitive2DContainer aSequence(rVOC.getPrimitive2DSequence(aDisplayInfo)); if(!aSequence.empty()) {