[Libreoffice-commits] core.git: lotuswordpro/source
Julien Nabet
serval2412 at yahoo.fr
Mon Nov 4 14:48:04 CET 2013
lotuswordpro/source/filter/xfilter/xfframe.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a210df8e50d94f557ceaa21e5f4943db97777812
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Nov 2 23:51:21 2013 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/lotuswordpro/source/filter/xfilter/xfframe.cxx b/lotuswordpro/source/filter/xfilter/xfframe.cxx
index 1aab551..f86794c 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 )
{
More information about the Libreoffice-commits
mailing list