sw/source/core/layout/frmtool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ef46186bbab756442db1b7c12cd1902c138c737e Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Thu Jul 2 09:56:33 2015 +0200 coverity#1309050 pLayout might be 0 here Change-Id: I5756c033e173faaba373c145b15a07e275453643 diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 6a7e0c2..aa1e2db 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -3317,7 +3317,7 @@ SwFrm* GetFrmOfModify( const SwRootFrm* pLayout, SwModify const& rMod, sal_uInt1 { SwObjectFormatter::FormatObj( *pFlyFrm ); } - pTmpFrm->Calc(pLayout->GetCurrShell()->GetOut()); + pTmpFrm->Calc(pLayout ? pLayout->GetCurrShell()->GetOut() : 0); } // #127369# _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits