From d9eac2ceb8c75c7219e7a6f50a3d774be311228b Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Wed, 16 Oct 2013 18:16:38 +0200 Subject: make sure value passed to updateBoolean is treated as a boolean Change-Id: I69549fd8ab95cf92ccb06fd9aed1b9dba2935d7d --- dbaccess/source/core/api/WrappedResultSet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(_rValue)); break; case DataType::TINYINT: if ( _rValue.isSigned() ) -- cgit