summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-22 09:27:34 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-22 11:04:04 +0200
commitcd21fb50b2cbc33707e08b654717a64e1f6217a6 (patch)
tree8792083d7202a90d40f640c2c193b517e0b9d126
parent734a30a23dd392924a1072172d61a372167529b0 (diff)
Sql types are short within firebird.
Change-Id: Iff9baf31ce06a71c6c460a7689c7bac817370b27
-rw-r--r--connectivity/source/drivers/firebird/FResultSetMetaData.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/FResultSetMetaData.cxx b/connectivity/source/drivers/firebird/FResultSetMetaData.cxx
index fe087f2d39cc..266664e386c2 100644
--- a/connectivity/source/drivers/firebird/FResultSetMetaData.cxx
+++ b/connectivity/source/drivers/firebird/FResultSetMetaData.cxx
@@ -73,7 +73,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column)
{
verifyValidColumn(column);
- int aType = m_pSqlda->sqlvar[column-1].sqltype;
+ short aType = m_pSqlda->sqlvar[column-1].sqltype;
return getColumnTypeFromFBType(aType);
}
@@ -122,7 +122,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
{
verifyValidColumn(column);
- int aType = m_pSqlda->sqlvar[column-1].sqltype;
+ short aType = m_pSqlda->sqlvar[column-1].sqltype;
return getColumnTypeNameFromFBType(aType);
}