summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/component
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/component')
-rw-r--r--connectivity/source/inc/component/CPreparedStatement.hxx2
-rw-r--r--connectivity/source/inc/component/CStatement.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/inc/component/CPreparedStatement.hxx b/connectivity/source/inc/component/CPreparedStatement.hxx
index cd104abd68cd..a7d8b0fb78ac 100644
--- a/connectivity/source/inc/component/CPreparedStatement.hxx
+++ b/connectivity/source/inc/component/CPreparedStatement.hxx
@@ -29,7 +29,7 @@ namespace connectivity::component
class OOO_DLLPUBLIC_FILE OComponentPreparedStatement : public file::OPreparedStatement
{
protected:
- virtual file::OResultSet* createResultSet() override;
+ virtual rtl::Reference<file::OResultSet> createResultSet() override;
public:
OComponentPreparedStatement( file::OConnection* _pConnection) : file::OPreparedStatement( _pConnection){}
DECLARE_SERVICE_INFO();
diff --git a/connectivity/source/inc/component/CStatement.hxx b/connectivity/source/inc/component/CStatement.hxx
index dd6bea02d0e1..8e2bd15f3648 100644
--- a/connectivity/source/inc/component/CStatement.hxx
+++ b/connectivity/source/inc/component/CStatement.hxx
@@ -29,7 +29,7 @@ namespace connectivity::component
class OOO_DLLPUBLIC_FILE OComponentStatement : public file::OStatement
{
protected:
- virtual file::OResultSet* createResultSet() override;
+ virtual rtl::Reference<file::OResultSet> createResultSet() override;
public:
OComponentStatement( file::OConnection* _pConnection) : file::OStatement( _pConnection){}
DECLARE_SERVICE_INFO();