diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSetBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx index bfaf44d5421b..3764f3e6b323 100644 --- a/dbaccess/source/core/api/RowSetBase.cxx +++ b/dbaccess/source/core/api/RowSetBase.cxx @@ -1329,7 +1329,7 @@ void ORowSetBase::onDeleteRow( const Any& _rBookmark ) ::osl::MutexGuard aGuard( *m_pMutex ); //OSL_ENSURE( m_aBookmark.hasValue(), "ORowSetBase::onDeleteRow: Bookmark isn't valid!" ); - if ( compareBookmarks( _rBookmark, m_aBookmark ) == 0 ) + if ( compareBookmarks( _rBookmark, m_aBookmark ) == CompareBookmark::EQUAL ) { positionCache( MOVE_NONE ); m_nDeletedPosition = m_pCache->getRow(); @@ -1349,7 +1349,7 @@ void ORowSetBase::onDeletedRow( const Any& _rBookmark, sal_Int32 _nPos ) } ::osl::MutexGuard aGuard( *m_pMutex ); - if ( compareBookmarks( _rBookmark, m_aBookmark ) == 0 ) + if ( compareBookmarks( _rBookmark, m_aBookmark ) == CompareBookmark::EQUAL ) { m_aOldRow->clearRow(); m_aCurrentRow = m_pCache->getEnd(); |