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

OSL_ENSURE followed by unconditional dereference -> assert

Change-Id: Ife08acfd0defbed7f09a3b8dce089f61b0d7e11c
üst cbfcdc4d
...@@ -220,7 +220,7 @@ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc ) ...@@ -220,7 +220,7 @@ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc )
pSub = pSub->GetNext(); pSub = pSub->GetNext();
} }
pTab = pTab->GetFollow(); pTab = pTab->GetFollow();
OSL_ENSURE( pTab, "Table follow without master" ); assert(pTab && "Table follow without master");
} }
} }
do do
......
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