summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-31 13:55:45 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-06-07 00:37:03 +0200
commit989fe2414974c02276f9458308370e3cc657998c (patch)
tree7474ac4734febe0ba1033190fc2b532fa66a32a1
parentf8f605d7f726909b39ed955e199609ae69111671 (diff)
loplugin:implicitboolconversion
Change-Id: Ic0c6487661286efa04452427fc3a64da747c2ce8 (cherry picked from commit 08e278b411a3b824e9af611ebb1763c1f4f80ef2)
-rw-r--r--dbaccess/source/core/api/RowSetBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 01830fb279d7..547c2c113090 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -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