summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-01 07:49:44 +0200
committerNoel Grandin <noel@peralex.com>2014-04-01 07:49:44 +0200
commit89147da58913a10157632a56a3c156911b86e1df (patch)
tree15c0b08585488c29de3ce1a780d61c02101ad7c0 /connectivity
parent39d3f2bb3a7016042e51e4a270814a99f7e62221 (diff)
fix sal_Bool conversion in connectivity/source/drivers/ado
Change-Id: I89a17d645870d9a6a896c738979b1e1f59caa08e
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/AColumn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/ado/AColumn.cxx b/connectivity/source/drivers/ado/AColumn.cxx
index 96d2e22b19cb..5ae638539142 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") );