diff options
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx | 2 | ||||
-rw-r--r-- | odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx index a5c67c6c8ced..e36776469d2a 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.cxx @@ -195,7 +195,7 @@ void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql ) throw(SQLExcept checkDisposed(OStatement_BASE::rBHelper.bDisposed); - m_aBatchList.push_back(sql); + m_aBatchVector.push_back(sql); } Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch( ) throw(SQLException, RuntimeException) diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx index 66393c2d6ce1..c870048d8146 100644 --- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx +++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SStatement.hxx @@ -45,7 +45,7 @@ #include <com/sun/star/util/XCancellable.hpp> #include <cppuhelper/compbase5.hxx> #include "SConnection.hxx" -#include <list> +#include <vector> #include "OSubComponent.hxx" #include <com/sun/star/lang/XServiceInfo.hpp> @@ -72,7 +72,7 @@ namespace connectivity ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XResultSet> m_xResultSet; // The last ResultSet created // for this Statement - ::std::list< ::rtl::OUString> m_aBatchList; + ::std::vector< ::rtl::OUString> m_aBatchVector; OConnection* m_pConnection; // The owning Connection object protected: |