diff options
Diffstat (limited to 'connectivity/source/inc/odbc')
-rw-r--r-- | connectivity/source/inc/odbc/OPreparedStatement.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/inc/odbc/OPreparedStatement.hxx b/connectivity/source/inc/odbc/OPreparedStatement.hxx index 1197c1be8544..a93b958be79a 100644 --- a/connectivity/source/inc/odbc/OPreparedStatement.hxx +++ b/connectivity/source/inc/odbc/OPreparedStatement.hxx @@ -82,7 +82,7 @@ namespace connectivity::odbc /** creates the driver specific resultset (factory) */ - virtual OResultSet* createResultSet() override; + virtual rtl::Reference<OResultSet> createResultSet() override; virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) override; diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx index e0d1bde55587..9d4baa6fc7da 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -127,7 +127,7 @@ namespace connectivity::odbc /** creates the driver specific resultset (factory) */ - virtual OResultSet* createResultSet(); + virtual rtl::Reference<OResultSet> createResultSet(); /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException |