summaryrefslogtreecommitdiffstats
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-19 11:22:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-19 15:37:54 +0000
commite19cbd4ce855365eb157e1a619712c9c194ba90d (patch)
tree1edd96cca54345ca384be410657148e45f92e410 /reportdesign
parentcoverity#704905 Dereference after null check (diff)
downloadcore-e19cbd4ce855365eb157e1a619712c9c194ba90d.tar.gz
core-e19cbd4ce855365eb157e1a619712c9c194ba90d.zip
coverity#705821 Dereference before null check
Change-Id: I3467f6be08794a663b9836ac02195ce2bf9ff4f2
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx
index d84b3d87ead2..bfe82557be9e 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -1223,8 +1223,7 @@ IMPL_LINK( OGroupsSortingDialog, LBChangeHdl, ListBox*, pListBox )
aArgs[0].Value <<= pListBox->GetSelectEntryPos() == 0;
m_pController->executeChecked(&m_aHeaderLst == pListBox ? SID_GROUPHEADER : SID_GROUPFOOTER,aArgs);
- if ( m_pFieldExpression )
- m_pFieldExpression->InvalidateHandleColumn();
+ m_pFieldExpression->InvalidateHandleColumn();
}
}
return 1L;