lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit 1e5d2dee621776afbc704e7ba9db79adaddc43f3 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Jan 7 09:24:27 2022 +0000 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Fri Jan 7 13:41:39 2022 +0100 ofz#43376 Null-dereference Change-Id: I57f67465e4f8ca6fc6bd47d7b095e9b470d9d2c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128072 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> 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