CID#1103679 calm coverity re invalid iterators
Change-Id: Iad07aa59c6016752ec9467945d737380d214c3c0
This commit is contained in:
@@ -1826,8 +1826,7 @@ void OSelectionBrowseBox::AddCondition( const OTableFieldDescRef& rInfo, const O
|
|||||||
}
|
}
|
||||||
m_bVisibleRow[BROW_CRIT1_ROW + nLevel] = sal_True;
|
m_bVisibleRow[BROW_CRIT1_ROW + nLevel] = sal_True;
|
||||||
}
|
}
|
||||||
|
else if (aIter == rFields.end())
|
||||||
else if (aIter == getFields().end())
|
|
||||||
{
|
{
|
||||||
OTableFieldDescRef pTmp = InsertField(rInfo, BROWSER_INVALIDID, sal_False, sal_False );
|
OTableFieldDescRef pTmp = InsertField(rInfo, BROWSER_INVALIDID, sal_False, sal_False );
|
||||||
if ( pTmp->isNumericOrAggreateFunction() && rInfo->IsGroupBy() ) // the GroupBy was inherited from rInfo
|
if ( pTmp->isNumericOrAggreateFunction() && rInfo->IsGroupBy() ) // the GroupBy was inherited from rInfo
|
||||||
|
Reference in New Issue
Block a user