diff options
Diffstat (limited to 'connectivity/source/inc/odbc/OStatement.hxx')
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx index 773e79b8d266..2de1e905364d 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -37,6 +37,7 @@ #include <string_view> #include <vector> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <unotools/weakref.hxx> namespace connectivity::odbc { @@ -61,7 +62,7 @@ namespace connectivity::odbc { css::sdbc::SQLWarning m_aLastWarning; protected: - css::uno::WeakReference< css::sdbc::XResultSet> m_xResultSet; // The last ResultSet created + unotools::WeakReference< OResultSet > m_xResultSet; // The last ResultSet created css::uno::Reference< css::sdbc::XStatement> m_xGeneratedStatement; // for this Statement @@ -122,7 +123,7 @@ namespace connectivity::odbc /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException - css::uno::Reference<css::sdbc::XResultSet> getResultSet(bool checkCount); + rtl::Reference<OResultSet> getResultSet(bool checkCount); /** creates the driver specific resultset (factory) */ |