[Libreoffice-commits] core.git: dbaccess/source

Stephan Bergmann sbergman at redhat.com
Sun May 31 04:56:09 PDT 2015


 dbaccess/source/core/api/RowSetBase.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 08e278b411a3b824e9af611ebb1763c1f4f80ef2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun May 31 13:55:45 2015 +0200

    loplugin:implicitboolconversion
    
    Change-Id: Ic0c6487661286efa04452427fc3a64da747c2ce8

diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 01830fb..547c2c1 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


More information about the Libreoffice-commits mailing list