diff options
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetbase.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/resultsetbase.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx index 6bc38014777d..53cb1b5233da 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx @@ -142,13 +142,8 @@ ResultSetBase::dispose() sal_Bool SAL_CALL ResultSetBase::next() { - bool test; m_nRow++; - if( sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() ) - test = true; - else - test = false; - return test; + return sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size(); } |