diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-30 15:35:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-30 18:24:41 +0200 |
commit | 6571e77d03491090c9d3a4ef74295bd4cfc3fda4 (patch) | |
tree | 73e291c87f64735ccf3589a1740ead600e8abc6b /connectivity/source/inc | |
parent | da8a36b4f4fa86831dabbfe7794c835cd5f975b4 (diff) |
use more concrete UNO type in odbc::OStatement_Base
Change-Id: I86073baf25e2f10a57879fcedbbb1c0e8c354813
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174281
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'connectivity/source/inc')
-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) */ |