Kaydet (Commit) 08e278b4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:implicitboolconversion

Change-Id: Ic0c6487661286efa04452427fc3a64da747c2ce8
üst a7b92624
......@@ -1239,7 +1239,7 @@ void ORowSetBase::positionCache( CursorMoveDirection _ePrepareForDirection )
if ( m_aBookmark.hasValue() )
{
if (_ePrepareForDirection == MOVE_NONE_REFRESH ||
(m_pCache->isAfterLast() != isAfterLast()) || ( m_pCache->isBeforeFirst() != isBeforeFirst() ) ||
(m_pCache->isAfterLast() != bool(isAfterLast())) || ( m_pCache->isBeforeFirst() != bool(isBeforeFirst()) ) ||
m_pCache->compareBookmarks( m_aBookmark, m_pCache->getBookmark() ) != CompareBookmark::EQUAL )
bSuccess = m_pCache->moveToBookmark( m_aBookmark );
else
......
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