diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-10 20:55:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-10 20:55:35 +0000 |
commit | c3c1a8f373e73d8bfa3180a21ccae0e4fb1cd982 (patch) | |
tree | 44b4b51a9b96766f2944d9cae22cc374cc7c4a00 /cui | |
parent | 750105967d6add2670cff5847ea74da925a3e679 (diff) |
coverity#704611 Dereference after null check
Change-Id: I7ce68773c85408d0dc3d46bac85bcbd0f5806ade
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/swpossizetabpage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index 43f0f4a003dd..bacecec08055 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -1274,8 +1274,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, PosHdl, ListBox *, pLB ) m_pVertByFT->Enable( bEnable ); } - if (pLB) // only if the hanlder has been called by a change of the controller - RangeModifyHdl( 0 ); + RangeModifyHdl( 0 ); short nRel = 0; if (pLB->GetSelectEntryCount()) |