diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-02 09:56:33 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-02 10:11:47 +0200 |
commit | ef46186bbab756442db1b7c12cd1902c138c737e (patch) | |
tree | 1a754ad93dbf52ed38c1fbc43b0fbb88589e1d74 /sw | |
parent | 48ecae47a5d1911296549fd31378ff07b402d2ab (diff) |
coverity#1309050 pLayout might be 0 here
Change-Id: I5756c033e173faaba373c145b15a07e275453643
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 6a7e0c2496d3..aa1e2dbc3cee 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# |