diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-02 23:51:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-04 07:47:44 -0600 |
commit | a210df8e50d94f557ceaa21e5f4943db97777812 (patch) | |
tree | 610496c824169bc5655dfaeafa9b0b25b8a232d6 /lotuswordpro/source | |
parent | fdo#69971 formula dialog crash when Paint restores EditEngine listener (diff) | |
download | core-a210df8e50d94f557ceaa21e5f4943db97777812.tar.gz core-a210df8e50d94f557ceaa21e5f4943db97777812.zip |
Related: fdo#71147 lwp-files open not or without charts/tables
It seems pContent may be NULL (see https://bugs.freedesktop.org/attachment.cgi?id=88539)
Change-Id: I80249dd1d0afc3feaef5f1b1d134210beee3d029
Reviewed-on: https://gerrit.libreoffice.org/6536
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfframe.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfframe.cxx b/lotuswordpro/source/filter/xfilter/xfframe.cxx index 1aab551d2f02..f86794cfa2c9 100644 --- a/lotuswordpro/source/filter/xfilter/xfframe.cxx +++ b/lotuswordpro/source/filter/xfilter/xfframe.cxx @@ -92,6 +92,8 @@ XFFrame::~XFFrame() void XFFrame::Add(IXFContent *pContent) { + if (!pContent) + return; XFContentContainer::Add(pContent); if( pContent->GetContentType() == enumXFContentFrame ) { |