Kaydet (Commit) b6db1e06 authored tarafından Michael Stahl's avatar Michael Stahl

rhbz#810644: CalcClipRect: add band-aid

No idea what the problem is, perhaps it'll just crash elsewhere now...
üst 1171a137
......@@ -1027,6 +1027,12 @@ sal_Bool CalcClipRect( const SdrObject *pSdrObj, SwRect &rRect, sal_Bool bMove )
if ( !bFollowTextFlow || bConsiderWrapOnObjPos )
{
const SwLayoutFrm* pClipFrm = pVertPosOrientFrm->FindPageFrm();
if (!pClipFrm)
{
OSL_FAIL("!pClipFrm: "
"if you can reproduce this please file a bug");
return false;
}
rRect = bMove ? pClipFrm->GetUpper()->Frm()
: pClipFrm->Frm();
// #i26945# - consider that a table, during
......
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