Kaydet (Commit) 558b08d5 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

silence warning when not a warning

Change-Id: I31d7835a5ed3053cd1a930b3fb922d689d6ddcbe
üst a4677e8d
...@@ -741,7 +741,8 @@ bool ORowSetCache::afterLast( ) ...@@ -741,7 +741,8 @@ bool ORowSetCache::afterLast( )
bool ORowSetCache::fillMatrix(sal_Int32& _nNewStartPos, sal_Int32 &_nNewEndPos) bool ORowSetCache::fillMatrix(sal_Int32& _nNewStartPos, sal_Int32 &_nNewEndPos)
{ {
OSL_ENSURE(_nNewStartPos != _nNewEndPos,"ORowSetCache::fillMatrix: StartPos and EndPos can not be equal!"); OSL_ENSURE((_nNewStartPos != _nNewEndPos) || (_nNewStartPos == 0 && _nNewEndPos == 0 && m_nRowCount == 0),
"ORowSetCache::fillMatrix: StartPos and EndPos can not be equal (unless the recordset is empty)!");
// If _nNewStartPos >= 0, then fill the whole window with new data // If _nNewStartPos >= 0, then fill the whole window with new data
// Else if _nNewStartPos == -1, then fill only segment [m_nEndPos, _nNewEndPos) // Else if _nNewStartPos == -1, then fill only segment [m_nEndPos, _nNewEndPos)
// Else, undefined (invalid argument) // Else, undefined (invalid argument)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment