summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-18 09:54:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-18 14:28:50 +0200
commit292fd4d83bba706a10926465b390fa5bc0d4e1ce (patch)
tree81f9fc188174954c557d9cf386cf9d3f428635c9 /xmloff
parentef40d3be2f21fa11db3984f86251ee162a70ca57 (diff)
cid#1509254 Uninitialized scalar variable
Change-Id: I2d1f0944a069230a435890734eb18e8ee3e275e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138470 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeimport.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index f0e150910ae9..259348e44176 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -615,6 +615,7 @@ void ShapeGroupContext::popGroupAndPostProcess()
// second add the already existing shapes in the unsorted list
ZOrderHint aNewHint;
+ aNewHint.pShape = nullptr;
do
{
nCount--;