Kaydet (Commit) ef46186b authored tarafından Miklos Vajna's avatar Miklos Vajna

coverity#1309050 pLayout might be 0 here

Change-Id: I5756c033e173faaba373c145b15a07e275453643
üst 48ecae47
...@@ -3317,7 +3317,7 @@ SwFrm* GetFrmOfModify( const SwRootFrm* pLayout, SwModify const& rMod, sal_uInt1 ...@@ -3317,7 +3317,7 @@ SwFrm* GetFrmOfModify( const SwRootFrm* pLayout, SwModify const& rMod, sal_uInt1
{ {
SwObjectFormatter::FormatObj( *pFlyFrm ); SwObjectFormatter::FormatObj( *pFlyFrm );
} }
pTmpFrm->Calc(pLayout->GetCurrShell()->GetOut()); pTmpFrm->Calc(pLayout ? pLayout->GetCurrShell()->GetOut() : 0);
} }
// #127369# // #127369#
......
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