summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-22 17:40:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-22 17:40:18 +0100
commitf70ae430a047f44ed16868aa8a802c5f65404cf5 (patch)
tree5923abdec200b1ee281936571bde12b4b1a1abd7 /connectivity
parente19ffa13594640655841f26d797fcd8f49733932 (diff)
OPreparedStatement::m_aTypeInfo is unused
Change-Id: I89a43b06a9983e2fac374298db2fef17f3671ab5
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/ACallableStatement.cxx4
-rw-r--r--connectivity/source/drivers/ado/AConnection.cxx4
-rw-r--r--connectivity/source/drivers/ado/APreparedStatement.cxx3
-rw-r--r--connectivity/source/inc/ado/ACallableStatement.hxx2
-rw-r--r--connectivity/source/inc/ado/APreparedStatement.hxx3
5 files changed, 7 insertions, 9 deletions
diff --git a/connectivity/source/drivers/ado/ACallableStatement.cxx b/connectivity/source/drivers/ado/ACallableStatement.cxx
index 2d6906d0515f..969494858938 100644
--- a/connectivity/source/drivers/ado/ACallableStatement.cxx
+++ b/connectivity/source/drivers/ado/ACallableStatement.cxx
@@ -38,8 +38,8 @@ IMPLEMENT_SERVICE_INFO(OCallableStatement,"com.sun.star.sdbcx.ACallableStatement
//************ Class: java.sql.CallableStatement
-OCallableStatement::OCallableStatement( OConnection* _pConnection,const OTypeInfoMap& TypeInfo,const OUString& sql )
- : OPreparedStatement( _pConnection, TypeInfo, sql )
+OCallableStatement::OCallableStatement( OConnection* _pConnection, const OUString& sql )
+ : OPreparedStatement( _pConnection, sql )
{
m_Command.put_CommandType(adCmdStoredProc);
}
diff --git a/connectivity/source/drivers/ado/AConnection.cxx b/connectivity/source/drivers/ado/AConnection.cxx
index 47f011a24cf4..a61e12de76ae 100644
--- a/connectivity/source/drivers/ado/AConnection.cxx
+++ b/connectivity/source/drivers/ado/AConnection.cxx
@@ -178,7 +178,7 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement( const OU
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- OPreparedStatement* pStmt = new OPreparedStatement(this,m_aTypeInfo,sql);
+ OPreparedStatement* pStmt = new OPreparedStatement(this, sql);
Reference< XPreparedStatement > xPStmt = pStmt;
m_aStatements.push_back(WeakReferenceHelper(*pStmt));
return xPStmt;
@@ -190,7 +190,7 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const OUStrin
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- OCallableStatement* pStmt = new OCallableStatement(this,m_aTypeInfo,sql);
+ OCallableStatement* pStmt = new OCallableStatement(this, sql);
Reference< XPreparedStatement > xPStmt = pStmt;
m_aStatements.push_back(WeakReferenceHelper(*pStmt));
return xPStmt;
diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx
index 256fa3faa467..a29e00d79fb5 100644
--- a/connectivity/source/drivers/ado/APreparedStatement.cxx
+++ b/connectivity/source/drivers/ado/APreparedStatement.cxx
@@ -52,9 +52,8 @@ using namespace com::sun::star::util;
IMPLEMENT_SERVICE_INFO(OPreparedStatement,"com.sun.star.sdbcx.APreparedStatement","com.sun.star.sdbc.PreparedStatement");
-OPreparedStatement::OPreparedStatement( OConnection* _pConnection,const OTypeInfoMap& TypeInfo,const OUString& sql)
+OPreparedStatement::OPreparedStatement( OConnection* _pConnection, const OUString& sql)
: OStatement_Base( _pConnection )
- ,m_aTypeInfo(TypeInfo)
{
osl_atomic_increment( &m_refCount );
diff --git a/connectivity/source/inc/ado/ACallableStatement.hxx b/connectivity/source/inc/ado/ACallableStatement.hxx
index ed35e9639b4c..726bf6929ee9 100644
--- a/connectivity/source/inc/ado/ACallableStatement.hxx
+++ b/connectivity/source/inc/ado/ACallableStatement.hxx
@@ -42,7 +42,7 @@ namespace connectivity
DECLARE_SERVICE_INFO();
virtual ~OCallableStatement() override {} ;
// a Constructor, that is needed for when Returning the Object is needed:
- OCallableStatement( OConnection* _pConnection,const OTypeInfoMap& TypeInfo,const OUString& sql );
+ OCallableStatement( OConnection* _pConnection, const OUString& sql );
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException) override;
virtual void SAL_CALL acquire() throw() override;
diff --git a/connectivity/source/inc/ado/APreparedStatement.hxx b/connectivity/source/inc/ado/APreparedStatement.hxx
index 971faa6ad977..73fce940e65d 100644
--- a/connectivity/source/inc/ado/APreparedStatement.hxx
+++ b/connectivity/source/inc/ado/APreparedStatement.hxx
@@ -53,7 +53,6 @@ namespace connectivity
// Data attributes
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData;
- const OTypeInfoMap& m_aTypeInfo;
ADOParameters* m_pParameters;
virtual ~OPreparedStatement() override;
@@ -61,7 +60,7 @@ namespace connectivity
public:
DECLARE_SERVICE_INFO();
// a Constructor, that is needed for when Returning the Object is needed:
- OPreparedStatement( OConnection* _pConnection,const OTypeInfoMap& TypeInfo,const OUString& sql);
+ OPreparedStatement( OConnection* _pConnection, const OUString& sql);
virtual void SAL_CALL acquire() throw() override;
virtual void SAL_CALL release() throw() override;