diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-01-19 17:54:10 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-01-19 21:08:10 +0100 |
commit | b2345f6d18ae6787fa6f05a3431e75f6810f83fc (patch) | |
tree | dc76e06668cb424c0d5541bc061a7298d8eef7c4 /dbaccess | |
parent | e0d349f70bc790efa7c267107bd2fb5aec4761e5 (diff) |
janitorial: don't rely on detail of current OSL_ENSURE implementation
As in: that the compiler won't see the variables in the condition when OSL_DEBUG_LEVEL==0
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSetBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx index f3ca25084cee..728934b8ac8a 100644 --- a/dbaccess/source/core/api/RowSetBase.cxx +++ b/dbaccess/source/core/api/RowSetBase.cxx @@ -1128,8 +1128,8 @@ void ORowSetBase::setCurrentRow( sal_Bool _bMoved, sal_Bool _bDoNotify, const OR positionCache( MOVE_NONE_REFRESH_ONLY ); #if OSL_DEBUG_LEVEL > 0 sal_Int32 nNewRow = m_pCache->getRow(); -#endif OSL_ENSURE(nOldRow == nNewRow,"Old position is not equal to new postion"); +#endif m_aCurrentRow = m_pCache->m_aMatrixIter; m_bIsInsertRow = sal_False; OSL_ENSURE(!m_aCurrentRow.isNull(),"CurrentRow is nul after positionCache!"); |