diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-01-07 09:24:27 +0000 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-01-07 13:41:54 +0100 |
commit | 584c5381cc8e1aa8203898512d726ef091828cec (patch) | |
tree | dc7e691eb19239b9a4d284d8917acea243f66937 | |
parent | For now, disable tests giving dubious results on AArch64 (diff) | |
download | core-584c5381cc8e1aa8203898512d726ef091828cec.tar.gz core-584c5381cc8e1aa8203898512d726ef091828cec.zip |
ofz#43376 Null-dereference
Change-Id: I57f67465e4f8ca6fc6bd47d7b095e9b470d9d2c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128073
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r-- | lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx b/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx index 3b8e8accad33..1b73b97a1f4f 100644 --- a/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx +++ b/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx @@ -373,8 +373,11 @@ XFFrame* LwpSdwGroupLoaderV0102::CreateDrawObject() pRetObjct = CreateDrawGroupObject(); - // set anchor type - pRetObjct->SetAnchorType(enumXFAnchorFrame); + if (pRetObjct) + { + // set anchor type + pRetObjct->SetAnchorType(enumXFAnchorFrame); + } break; } case OT_CHART://fall-through |