summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lotuswordpro/source/filter/lwpcelllayout.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx
index 17f516a7897a..13b6461feeb5 100644
--- a/lotuswordpro/source/filter/lwpcelllayout.cxx
+++ b/lotuswordpro/source/filter/lwpcelllayout.cxx
@@ -713,10 +713,7 @@ void LwpConnectedCellLayout::SetCellMap()
LwpCellBorderType LwpConnectedCellLayout::GetCellBorderType(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout)
{
if (!pTableLayout)
- {
- assert(false);
- return enumWholeBorder;
- }
+ throw std::runtime_error("missing table layout");
sal_uInt16 nRowSpan = m_nRealrowspan;