diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-13 09:53:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 11:38:01 +0200 |
commit | 6fd0c690a304361d42cbf940e2e399f15ae495f5 (patch) | |
tree | f059972c40ce54a97f83f9f41daf7fc3a0993c87 /sw/source/ui/frmdlg | |
parent | 6e0a080ef154596c3daa9c38f7e885a414fd2552 (diff) |
cid#705016 dereference after null check
pLB was already dereferenced in the call to GetMapPos, so no point
in checking it for null
Change-Id: I8b9c5f5e5725829fdeaa61488168d0d289b02b4c
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index 8670fb019601..224477e1c4fa 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -1957,8 +1957,7 @@ IMPL_LINK( SwFrmPage, PosHdl, ListBox *, pLB ) m_pAtVertPosFT->Enable( bEnable ); } - if (pLB) // only when Handler was called by changing of the controller - RangeModifyHdl( 0 ); + RangeModifyHdl( 0 ); sal_uInt16 nRel = 0; if (pLB->GetSelectEntryCount()) |