lotuswordpro/source/filter/xfilter/xfcell.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit c910e229aa19edd0502aa05dffedc91dd727da6f Author: Caolán McNamara <caol...@redhat.com> Date: Sat Dec 12 23:37:06 2015 +0000 guard against null pContent Change-Id: Ia4f2dff9c3cb81bb5056f005b23420cab1ca49e5 diff --git a/lotuswordpro/source/filter/xfilter/xfcell.cxx b/lotuswordpro/source/filter/xfilter/xfcell.cxx index ddc7700..dc32b03 100644 --- a/lotuswordpro/source/filter/xfilter/xfcell.cxx +++ b/lotuswordpro/source/filter/xfilter/xfcell.cxx @@ -90,6 +90,10 @@ void XFCell::Add(XFContent *pContent) assert(false); return; } + if (!pContent) + { + throw std::runtime_error("no content"); + } if( pContent->GetContentType() == enumXFContentTable ) { XFTable *pTable = static_cast<XFTable*>(pContent);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits