diff --git a/lotuswordpro/source/filter/lwprowlayout.cxx b/lotuswordpro/source/filter/lwprowlayout.cxx index b5583d19e6d4..d63a06fe9e38 100644 --- a/lotuswordpro/source/filter/lwprowlayout.cxx +++ b/lotuswordpro/source/filter/lwprowlayout.cxx @@ -192,6 +192,8 @@ void LwpRowLayout::ConvertRow(rtl::Reference const & pXFTable,sal_uInt8 if (!pTableLayout) throw std::runtime_error("missing TableLayout"); LwpTable* pTable = pTableLayout->GetTable(); + if (!pTable) + throw std::runtime_error("missing Table"); //calculate the connected cell position sal_Int32 nMarkConnCell = FindMarkConnCell(nStartCol,nEndCol);