diff options
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpcelllayout.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx index 6b27d73667fd..a587ec91febe 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.cxx +++ b/lotuswordpro/source/filter/lwpcelllayout.cxx @@ -121,8 +121,9 @@ LwpTable * LwpCellLayout::GetTable() */ void LwpCellLayout::SetCellMap() { - // this function is called from LwpTableLayout, so it can't be NULL - GetTableLayout()->SetWordProCellMap(crowid, ccolid, this); + LwpTableLayout * pTableLayout = GetTableLayout(); + if (pTableLayout) + pTableLayout->SetWordProCellMap(crowid, ccolid, this); } /** * @short Get actual width of this cell layout |