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

Noel Grandin noel at peralex.com
Mon Mar 31 22:50:32 PDT 2014


 connectivity/source/drivers/ado/AColumn.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89147da58913a10157632a56a3c156911b86e1df
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Apr 1 07:49:44 2014 +0200

    fix sal_Bool conversion in connectivity/source/drivers/ado
    
    Change-Id: I89a17d645870d9a6a896c738979b1e1f59caa08e

diff --git a/connectivity/source/drivers/ado/AColumn.cxx b/connectivity/source/drivers/ado/AColumn.cxx
index 96d2e22..5ae6385 100644
--- a/connectivity/source/drivers/ado/AColumn.cxx
+++ b/connectivity/source/drivers/ado/AColumn.cxx
@@ -252,7 +252,7 @@ void OAdoColumn::fillPropertyValues()
 
             if ( aProps.IsValid() )
             {
-                m_IsAutoIncrement = OTools::getValue( aProps, OUString("Autoincrement") );
+                m_IsAutoIncrement = static_cast<sal_Bool>( OTools::getValue( aProps, OUString("Autoincrement") ) ) == 1;
 
                 m_Description = OTools::getValue( aProps, OUString("Description") );
 


More information about the Libreoffice-commits mailing list