diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-10-16 18:16:38 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-10-16 18:45:21 +0200 |
commit | d9eac2ceb8c75c7219e7a6f50a3d774be311228b (patch) | |
tree | c045161fa4e5072f1cfcd592fbb04f211fe03fd8 | |
parent | 5c5df097e696dfb186a32838bb77bee3d244b058 (diff) |
make sure value passed to updateBoolean is treated as a boolean
Change-Id: I69549fd8ab95cf92ccb06fd9aed1b9dba2935d7d
-rw-r--r-- | dbaccess/source/core/api/WrappedResultSet.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/WrappedResultSet.cxx b/dbaccess/source/core/api/WrappedResultSet.cxx index 2cdf5192751e..bf2ce017bc0c 100644 --- a/dbaccess/source/core/api/WrappedResultSet.cxx +++ b/dbaccess/source/core/api/WrappedResultSet.cxx @@ -185,7 +185,7 @@ void WrappedResultSet::updateColumn(sal_Int32 nPos,Reference< XRowUpdate > _xPar break; case DataType::BIT: case DataType::BOOLEAN: - _xParameter->updateBoolean(nPos,_rValue); + _xParameter->updateBoolean(nPos,static_cast<bool>(_rValue)); break; case DataType::TINYINT: if ( _rValue.isSigned() ) |