summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-02 23:51:21 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-10 13:05:41 +0100
commitb6f34cbe507c1ae640a315f40d3f39a1d5ca4945 (patch)
tree6ea5314c8d40f4e416a412e53b2bebcc0d7fcea5 /lotuswordpro
parent883075eebd2f1c4261146955d74692ecbe98a214 (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> (cherry picked from commit a210df8e50d94f557ceaa21e5f4943db97777812)
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 )
{