tdf#163221 crash in dialog editor
regression from
commit 65d52af42f
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.grandin@collabora.co.uk>
This commit is contained in:
parent
afab0fa906
commit
a60617b1f2
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue