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

Lionel Elie Mamane lionel at mamane.lu
Mon Dec 12 06:50:29 UTC 2016


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

New commits:
commit 7b0c57b2faec875c790051d233d1e9abaed2a3bc
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Dec 12 07:49:46 2016 +0100

    some compilers don't like implicit bool-to-ORowSetValue conversion
    
    Change-Id: Ic4463db8aeca6ae9a86f7b890f95eb73724c6a1b

diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx
index b09d6cc..341a323 100644
--- a/connectivity/source/drivers/firebird/ResultSet.cxx
+++ b/connectivity/source/drivers/firebird/ResultSet.cxx
@@ -482,7 +482,7 @@ ORowSetValue OResultSet::retrieveValue(const sal_Int32 nColumnIndex, const ISC_S
                 return getString(nColumnIndex);
             return getLong(nColumnIndex);
         case SQL_BOOLEAN:
-            return getBoolean(nColumnIndex);
+            return ORowSetValue(getBoolean(nColumnIndex));
         case SQL_BLOB:
         case SQL_NULL:
         case SQL_QUAD:


More information about the Libreoffice-commits mailing list