[Libreoffice-commits] core.git: connectivity/source
Andrzej J.R. Hunt
andrzej at ahunt.org
Mon Jul 22 11:25:36 PDT 2013
connectivity/source/drivers/firebird/FDatabaseMetaData.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7f653884f96b90d5da5a85487234a7e7182df3fa
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date: Mon Jul 22 20:22:27 2013 +0200
Hopefully the last ambiguous conversion fix (firebird-sdbc).
Change-Id: If290239444f4849e3f5355a3c0a64416fc5c691d
diff --git a/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx b/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
index 35fa88e..3545970 100644
--- a/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
@@ -1039,7 +1039,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
short aColumnNumber = xRow->getShort(5);
// Firebird stores column numbers beginning with 0 internally
// SDBC expects column numbering to begin with 1.
- aCurrentRow.push_back(new ORowSetValueDecorator(aColumnNumber + 1));
+ aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(aColumnNumber + 1)));
}
// 18. Is nullable
if (xRow->getShort(9))
More information about the Libreoffice-commits
mailing list