Kaydet (Commit) 55b88658 authored tarafından Caolán McNamara's avatar Caolán McNamara

guard against missing HeadHolder

Change-Id: Ic12ee6f4366285fc05fd59b94ec371d8ca013a4a
(cherry picked from commit ca868de5)
üst 608456eb
...@@ -1106,7 +1106,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID) ...@@ -1106,7 +1106,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID)
LwpDLVListHeadHolder* pHolder = static_cast<LwpDLVListHeadHolder*>(pFoundry->GetNumberManager().GetTableRangeID().obj().get()); 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 //Look up the table
while (nullptr!=pTableRange) while (nullptr!=pTableRange)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment