summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-16 14:21:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-16 16:41:26 +0100
commitaa460a757431afc7408d08569142e6c0e3f6f301 (patch)
treef52e68b04848620e34d51f3762fb5a54db500334 /lotuswordpro
parentced4cde59eb51e4364daf69520a184b55c2c54db (diff)
ofz#43689 Null-dereference
Change-Id: I6edb50b3c281d50187d8965ce9665a9aae0e9098 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128478 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/inc/xfilter/xfdrawgroup.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/lotuswordpro/inc/xfilter/xfdrawgroup.hxx b/lotuswordpro/inc/xfilter/xfdrawgroup.hxx
index 81f7f8cc781a..b5e1f367c837 100644
--- a/lotuswordpro/inc/xfilter/xfdrawgroup.hxx
+++ b/lotuswordpro/inc/xfilter/xfdrawgroup.hxx
@@ -72,7 +72,10 @@
class XFDrawGroup : public XFDrawObject
{
public:
- XFDrawGroup() {}
+ XFDrawGroup()
+ : m_aChildren(new XFContentContainer)
+ {
+ }
public:
using XFDrawObject::Add;