summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbcbase/OTools.cxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-12-05 06:04:22 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-12-06 19:20:10 +0100
commit2dac905bd4cbb259e6821bb43714df5f30a2504d (patch)
tree78d2b10ecc314a45d7eee10df1fb0f05b10b0673 /connectivity/source/drivers/odbcbase/OTools.cxx
parent1bb035777d6ba48fdc6e8a0e5d0e1f47e087f322 (diff)
const-ify arguments of some OTools function members
Change-Id: Ie19a5277a9b847a9e440d137cf7ee18943c77832
Diffstat (limited to 'connectivity/source/drivers/odbcbase/OTools.cxx')
-rw-r--r--connectivity/source/drivers/odbcbase/OTools.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/drivers/odbcbase/OTools.cxx b/connectivity/source/drivers/odbcbase/OTools.cxx
index 90d0791d1cfc..7c2630ec57c8 100644
--- a/connectivity/source/drivers/odbcbase/OTools.cxx
+++ b/connectivity/source/drivers/odbcbase/OTools.cxx
@@ -290,13 +290,13 @@ void OTools::bindValue( OConnection* _pConnection,
OTools::ThrowException(_pConnection,nRetcode,_aStatementHandle,SQL_HANDLE_STMT,_xInterface);
}
// -----------------------------------------------------------------------------
-void OTools::ThrowException(OConnection* _pConnection,
- SQLRETURN _rRetCode,
- SQLHANDLE _pContext,
- SQLSMALLINT _nHandleType,
+void OTools::ThrowException(const OConnection* _pConnection,
+ const SQLRETURN _rRetCode,
+ const SQLHANDLE _pContext,
+ const SQLSMALLINT _nHandleType,
const Reference< XInterface >& _xInterface,
- sal_Bool _bNoFound,
- rtl_TextEncoding _nTextEncoding) throw(SQLException)
+ const sal_Bool _bNoFound,
+ const rtl_TextEncoding _nTextEncoding) throw(SQLException)
{
switch(_rRetCode)
{
@@ -350,10 +350,10 @@ void OTools::ThrowException(OConnection* _pConnection,
}
// -------------------------------------------------------------------------
-Sequence<sal_Int8> OTools::getBytesValue(OConnection* _pConnection,
- SQLHANDLE _aStatementHandle,
- sal_Int32 columnIndex,
- SQLSMALLINT _fSqlType,
+Sequence<sal_Int8> OTools::getBytesValue(const OConnection* _pConnection,
+ const SQLHANDLE _aStatementHandle,
+ const sal_Int32 columnIndex,
+ const SQLSMALLINT _fSqlType,
sal_Bool &_bWasNull,
const Reference< XInterface >& _xInterface) throw(SQLException, RuntimeException)
{