diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 11:23:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:37:55 +0000 |
commit | c9c1fa961c437b1ba9d393070453bef9b0543771 (patch) | |
tree | 7608f498d469f45c71e7409885b6369fe6725ae5 /reportdesign | |
parent | e19cbd4ce855365eb157e1a619712c9c194ba90d (diff) |
coverity#705822 Dereference before null check
Change-Id: I1b54b89254211f5f6191a8f1b6af9181f90bd071
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/dlg/GroupsSorting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index bfe82557be9e..c7040626985d 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -1204,7 +1204,7 @@ IMPL_LINK( OGroupsSortingDialog, LBChangeHdl, ListBox*, pListBox ) sal_Int32 nGroupPos = m_pFieldExpression->getGroupPosition(nRow); if ( pListBox != &m_aHeaderLst && pListBox != &m_aFooterLst) { - if ( pListBox && pListBox->GetSavedValue() != pListBox->GetSelectEntryPos() ) + if ( pListBox->GetSavedValue() != pListBox->GetSelectEntryPos() ) SaveData(nRow); if ( pListBox == &m_aGroupOnLst ) m_aGroupIntervalEd.Enable( pListBox->GetSelectEntryPos() != 0 ); |