Kaydet (Commit) 28a6e1cf authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Disambiguate ctor calls, fix windows build.

Fixup for 074ef06c

Change-Id: I5ceb153cda6112c4e8751ee0b63c19f442ccf18a
üst 2cf07709
...@@ -965,9 +965,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns( ...@@ -965,9 +965,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
aCurrentRow.push_back(new ORowSetValueDecorator()); aCurrentRow.push_back(new ORowSetValueDecorator());
// 9. Decimal Digits // 9. Decimal Digits
// TODO: implement // TODO: implement
aCurrentRow.push_back(new ORowSetValueDecorator(0)); aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(0)));
// 10. Radix // 10. Radix
aCurrentRow.push_back(new ORowSetValueDecorator(10)); aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(10)));
// 11. Nullable // 11. Nullable
if (xRow->getShort(9)) if (xRow->getShort(9))
{ {
...@@ -1008,11 +1008,11 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns( ...@@ -1008,11 +1008,11 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
} }
else if (aType == SQL_VARYING) else if (aType == SQL_VARYING)
{ {
aCurrentRow.push_back(new ORowSetValueDecorator(32767)); aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(32767)));
} }
else else
{ {
aCurrentRow.push_back(new ORowSetValueDecorator(0)); aCurrentRow.push_back(new ORowSetValueDecorator(sal_Int32(0)));
} }
// 17. Index in column // 17. Index in column
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment