summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-02 23:51:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-11-04 07:47:44 -0600
commita210df8e50d94f557ceaa21e5f4943db97777812 (patch)
tree610496c824169bc5655dfaeafa9b0b25b8a232d6 /lotuswordpro
parenta9d85d62a889288b17899c8defc020da487d8b36 (diff)
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')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfframe.cxx2
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 )
{