diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-11 08:51:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-11 08:51:26 +0100 |
commit | 44fa08ed89f61add6ba6fb0eb1b5c243b53c350f (patch) | |
tree | 7a14ffd91b7906aab4d3c52fc789c2c6ce8a2446 /dbaccess | |
parent | 88af59fa755505422958746fb321e15f50c99378 (diff) |
CID#1103679 calm coverity re invalid iterators
Change-Id: Iad07aa59c6016752ec9467945d737380d214c3c0
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index ca189a1d1e88..0ae085991139 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -1826,8 +1826,7 @@ void OSelectionBrowseBox::AddCondition( const OTableFieldDescRef& rInfo, const O } m_bVisibleRow[BROW_CRIT1_ROW + nLevel] = sal_True; } - - else if (aIter == getFields().end()) + else if (aIter == rFields.end()) { OTableFieldDescRef pTmp = InsertField(rInfo, BROWSER_INVALIDID, sal_False, sal_False ); if ( pTmp->isNumericOrAggreateFunction() && rInfo->IsGroupBy() ) // the GroupBy was inherited from rInfo |