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:40:17 +0000 |
commit | ca868de5e41b45a077949e40ef80f063c362892b (patch) | |
tree | 56e0beb2750862fefaee510b6d3b698bd997eea4 /lotuswordpro/source/filter/lwptablelayout.cxx | |
parent | don't trust that this is what its supposed to be (diff) | |
download | core-ca868de5e41b45a077949e40ef80f063c362892b.tar.gz core-ca868de5e41b45a077949e40ef80f063c362892b.zip |
guard against missing HeadHolder
Change-Id: Ic12ee6f4366285fc05fd59b94ec371d8ca013a4a
Diffstat (limited to 'lotuswordpro/source/filter/lwptablelayout.cxx')
-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) |