diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 13:40:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 13:41:01 +0000 |
commit | 55b886584ee6b4cd64b45908b00eb34167d28e83 (patch) | |
tree | 9e99cf933accd52eabfd8b461d8f5649b7198d2a /lotuswordpro | |
parent | 608456eb3c190513b881eea0ab763fcc62284d2f (diff) |
guard against missing HeadHolder
Change-Id: Ic12ee6f4366285fc05fd59b94ec371d8ca013a4a
(cherry picked from commit ca868de5e41b45a077949e40ef80f063c362892b)
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index 0a2f789777fe..071c9715fc91 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -1106,7 +1106,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID) LwpDLVListHeadHolder* pHolder = static_cast<LwpDLVListHeadHolder*>(pFoundry->GetNumberManager().GetTableRangeID().obj().get()); - LwpTableRange* pTableRange = static_cast<LwpTableRange*>(pHolder->GetHeadID().obj().get()); + LwpTableRange* pTableRange = pHolder ? static_cast<LwpTableRange*>(pHolder->GetHeadID().obj().get()) : nullptr; //Look up the table while (nullptr!=pTableRange) |