Kaydet (Commit) b51fe8dd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused m_aBatchVector members

Change-Id: I7b7ff3295fa5eb87d113b48dcff0cf3c0b12b4ff
Reviewed-on: https://gerrit.libreoffice.org/41780Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 71556998
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "MacabConnection.hxx" #include "MacabConnection.hxx"
#include "MacabHeader.hxx" #include "MacabHeader.hxx"
#include <vector>
#include <connectivity/sqliterator.hxx> #include <connectivity/sqliterator.hxx>
#include <connectivity/sqlparse.hxx> #include <connectivity/sqlparse.hxx>
#include <com/sun/star/sdbc/XStatement.hpp> #include <com/sun/star/sdbc/XStatement.hpp>
...@@ -54,7 +53,6 @@ namespace connectivity ...@@ -54,7 +53,6 @@ namespace connectivity
css::sdbc::SQLWarning m_aLastWarning; css::sdbc::SQLWarning m_aLastWarning;
protected: protected:
std::vector< OUString> m_aBatchVector;
connectivity::OSQLParser m_aParser; connectivity::OSQLParser m_aParser;
connectivity::OSQLParseTreeIterator m_aSQLIterator; connectivity::OSQLParseTreeIterator m_aSQLIterator;
connectivity::OSQLParseNode* m_pParseTree; connectivity::OSQLParseNode* m_pParseTree;
......
...@@ -187,12 +187,10 @@ Any SAL_CALL OStatement::queryInterface(const Type & rType) ...@@ -187,12 +187,10 @@ Any SAL_CALL OStatement::queryInterface(const Type & rType)
return aRet; return aRet;
} }
void SAL_CALL OStatement::addBatch(const rtl::OUString& sql) void SAL_CALL OStatement::addBatch(const rtl::OUString&)
{ {
MutexGuard aGuard(m_aMutex); MutexGuard aGuard(m_aMutex);
checkDisposed(rBHelper.bDisposed); checkDisposed(rBHelper.bDisposed);
m_aBatchVector.push_back(sql);
} }
Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch() Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include <cppconn/statement.h> #include <cppconn/statement.h>
#include <cppuhelper/compbase5.hxx> #include <cppuhelper/compbase5.hxx>
#include <vector>
namespace connectivity namespace connectivity
{ {
...@@ -71,8 +70,6 @@ namespace connectivity ...@@ -71,8 +70,6 @@ namespace connectivity
SQLWarning m_aLastWarning; SQLWarning m_aLastWarning;
protected: protected:
::std::vector< rtl::OUString> m_aBatchVector;
OConnection* m_pConnection; // The owning Connection object OConnection* m_pConnection; // The owning Connection object
sql::Statement *cppStatement; sql::Statement *cppStatement;
......
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