diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index c474a19a6bbe..098ba2de4fda 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -2047,7 +2047,7 @@ void OSelectionBrowseBox::SetRowVisible(sal_uInt16 _nWhich, bool _bVis) long OSelectionBrowseBox::GetBrowseRow(long nRowId) const { sal_uInt16 nCount(0); - for(sal_uInt16 i = 0 ; i < nRowId ; ++i) + for(long i = 0 ; i < nRowId ; ++i) { if ( m_bVisibleRow[i] ) ++nCount; |