[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - connectivity/source
Gabriele Bulfon
gabriele.bulfon at sonicle.com
Fri Jul 5 13:35:47 PDT 2013
connectivity/source/drivers/odbcbase/OConnection.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2d398166a937b494da7e7b198d2a00d20393a106
Author: Gabriele Bulfon <gabriele.bulfon at sonicle.com>
Date: Fri Jul 5 21:27:12 2013 +0200
use proper SQLINTEGER type (fixes build on Illumos)
Change-Id: I85296600195dd5d74d2a112ce6cfef7f276535ab
(cherry picked from commit 12b7ba60b746031f2bbef59758270cc0281f4dab)
Signed-off-by: Michael Stahl <mstahl at redhat.com>
diff --git a/connectivity/source/drivers/odbcbase/OConnection.cxx b/connectivity/source/drivers/odbcbase/OConnection.cxx
index dfe22be..9e04bba 100644
--- a/connectivity/source/drivers/odbcbase/OConnection.cxx
+++ b/connectivity/source/drivers/odbcbase/OConnection.cxx
@@ -417,7 +417,7 @@ OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeExcepti
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- sal_Int32 nValueLen;
+ SQLINTEGER nValueLen;
char pCat[1024];
OTools::ThrowException(this,
N3SQLGetConnectAttr(m_aConnectionHandle,SQL_ATTR_CURRENT_CATALOG,(SDB_ODBC_CHAR*)pCat,(sizeof pCat)-1,&nValueLen),
More information about the Libreoffice-commits
mailing list