diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-25 14:48:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-26 07:37:05 +0100 |
commit | 5170614a3160dceba63478291a00bbde9d37729f (patch) | |
tree | 04bcea5d693b3e880ccff266e8971cbf5c815559 /connectivity/source/inc/flat | |
parent | 19ddd197a4246b8ab62932d63670b3d281e7b626 (diff) |
loplugin:refcounting in connectivity
Change-Id: Iee324d84334f60a13615a4d422d480c9c597fdbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111539
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc/flat')
-rw-r--r-- | connectivity/source/inc/flat/EPreparedStatement.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/flat/EStatement.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/inc/flat/EPreparedStatement.hxx b/connectivity/source/inc/flat/EPreparedStatement.hxx index 216051d168a9..bb2bf4ad1749 100644 --- a/connectivity/source/inc/flat/EPreparedStatement.hxx +++ b/connectivity/source/inc/flat/EPreparedStatement.hxx @@ -28,7 +28,7 @@ namespace connectivity::flat class OFlatPreparedStatement : public file::OPreparedStatement { protected: - virtual file::OResultSet* createResultSet() override; + virtual rtl::Reference<file::OResultSet> createResultSet() override; public: OFlatPreparedStatement( file::OConnection* _pConnection) : file::OPreparedStatement( _pConnection){} DECLARE_SERVICE_INFO(); diff --git a/connectivity/source/inc/flat/EStatement.hxx b/connectivity/source/inc/flat/EStatement.hxx index add447e5dabc..def70f681be9 100644 --- a/connectivity/source/inc/flat/EStatement.hxx +++ b/connectivity/source/inc/flat/EStatement.hxx @@ -28,7 +28,7 @@ namespace connectivity::flat class OFlatStatement : public file::OStatement { protected: - virtual file::OResultSet* createResultSet() override; + virtual rtl::Reference<file::OResultSet> createResultSet() override; public: OFlatStatement( file::OConnection* _pConnection) : file::OStatement( _pConnection){} DECLARE_SERVICE_INFO(); |