summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-31 13:55:45 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:22:04 +0200
commitbf475de0ca54c6c28c8e4565173e169399612053 (patch)
treec1a31dd022383cfbaab8a46935b7e9546e32eb68 /dbaccess
parenta66ce8fd33530d7db197f2615b6539f54b9242d8 (diff)
loplugin:implicitboolconversion
Change-Id: Ic0c6487661286efa04452427fc3a64da747c2ce8 (cherry picked from commit 08e278b411a3b824e9af611ebb1763c1f4f80ef2)
Diffstat (limited to 'dbaccess')
-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