diff options
Diffstat (limited to 'dbaccess/source/core/api/query.hxx')
-rw-r--r-- | dbaccess/source/core/api/query.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dbaccess/source/core/api/query.hxx b/dbaccess/source/core/api/query.hxx index 536b2d2208c7..fefcb94b47e7 100644 --- a/dbaccess/source/core/api/query.hxx +++ b/dbaccess/source/core/api/query.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_QUERY_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_API_QUERY_HXX +#pragma once #include "querydescriptor.hxx" #include <cppuhelper/implbase3.hxx> @@ -132,7 +131,7 @@ public: protected: virtual void SAL_CALL disposing() override; - virtual OColumn* createColumn(const OUString& _rName) const override; + virtual rtl::Reference<OColumn> createColumn(const OUString& _rName) const override; virtual void rebuildColumns( ) override; @@ -145,6 +144,4 @@ private: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_CORE_API_QUERY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |