diff options
Diffstat (limited to 'connectivity/source/inc/component/CStatement.hxx')
-rw-r--r-- | connectivity/source/inc/component/CStatement.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/connectivity/source/inc/component/CStatement.hxx b/connectivity/source/inc/component/CStatement.hxx index dd6bea02d0e1..10346e7c8559 100644 --- a/connectivity/source/inc/component/CStatement.hxx +++ b/connectivity/source/inc/component/CStatement.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CSTATEMENT_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CSTATEMENT_HXX +#pragma once #include <file/FStatement.hxx> @@ -29,7 +28,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(); @@ -37,6 +36,4 @@ namespace connectivity::component } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_COMPONENT_CSTATEMENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |