diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-14 13:52:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-17 14:04:31 +0200 |
commit | 7881de6d9f8b9d9d42d0032099ab75542cd8cec6 (patch) | |
tree | 9a8c729d68b43c0c683013e1646c78cc37934258 /sw/source/core/layout/hffrm.cxx | |
parent | e5810bb2bb7f6a28fe95189edd939a3bbccee842 (diff) |
cid#705924 dereference before null check
Change-Id: I5f3256351ea806e902477d2ccd5cc9dfbc18fdb1
Diffstat (limited to 'sw/source/core/layout/hffrm.cxx')
-rw-r--r-- | sw/source/core/layout/hffrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx index b8b95a4b2601..116650fc1047 100644 --- a/sw/source/core/layout/hffrm.cxx +++ b/sw/source/core/layout/hffrm.cxx @@ -741,7 +741,7 @@ void SwPageFrm::PrepareFooter() if ( GetUpper() ) ::RegistFlys( this, pF ); } - else if ( pLay && pLay->IsFooterFrm() ) + else if ( pLay->IsFooterFrm() ) { // Remove footer if already present ::DelFlys( pLay, this ); SwViewShell *pShell; |