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

Thorsten Behrens tbehrens at suse.com
Mon Jul 22 07:36:36 PDT 2013


 connectivity/source/drivers/firebird/FDatabaseMetaData.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 28a6e1cf1bb9d6e8865736432dd32c12f0002cf9
Author: Thorsten Behrens <tbehrens at suse.com>
Date:   Mon Jul 22 16:34:56 2013 +0200

    Disambiguate ctor calls, fix windows build.
    
    Fixup for 074ef06c908af1e5c6922a0c8ff9ccc9a9d54063
    
    Change-Id: I5ceb153cda6112c4e8751ee0b63c19f442ccf18a

diff --git a/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx b/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
index c6e33c9..2efde9b 100644
--- a/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
@@ -965,9 +965,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
         aCurrentRow.push_back(new ORowSetValueDecorator());
         // 9. Decimal Digits
         // TODO: implement
-        aCurrentRow.push_back(new ORowSetValueDecorator(0));
+        aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(0)));
         // 10. Radix
-        aCurrentRow.push_back(new ORowSetValueDecorator(10));
+        aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(10)));
         // 11. Nullable
         if (xRow->getShort(9))
         {
@@ -1008,11 +1008,11 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
         }
         else if (aType == SQL_VARYING)
         {
-            aCurrentRow.push_back(new ORowSetValueDecorator(32767));
+            aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(32767)));
         }
         else
         {
-            aCurrentRow.push_back(new ORowSetValueDecorator(0));
+            aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(0)));
         }
         // 17. Index in column
         {


More information about the Libreoffice-commits mailing list