summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/hffrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 13:52:06 +0200
committerNoel Grandin <noel@peralex.com>2014-02-17 14:04:31 +0200
commit7881de6d9f8b9d9d42d0032099ab75542cd8cec6 (patch)
tree9a8c729d68b43c0c683013e1646c78cc37934258 /sw/source/core/layout/hffrm.cxx
parente5810bb2bb7f6a28fe95189edd939a3bbccee842 (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.cxx2
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;