summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/flat/ETables.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/flat/ETables.hxx')
-rw-r--r--connectivity/source/inc/flat/ETables.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/inc/flat/ETables.hxx b/connectivity/source/inc/flat/ETables.hxx
index 4a00c5133eaf..6d198a9b021c 100644
--- a/connectivity/source/inc/flat/ETables.hxx
+++ b/connectivity/source/inc/flat/ETables.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FLAT_ETABLES_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_FLAT_ETABLES_HXX
+#pragma once
#include <file/FTables.hxx>
@@ -29,7 +28,7 @@ namespace connectivity::flat
class OFlatTables : public OFlatTables_BASE
{
protected:
- virtual sdbcx::ObjectType createObject(const OUString& _rName) override;
+ virtual css::uno::Reference< css::beans::XPropertySet > createObject(const OUString& _rName) override;
public:
OFlatTables(const css::uno::Reference< css::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,
const ::std::vector< OUString> &_rVector) : OFlatTables_BASE(_rMetaData,_rParent,_rMutex,_rVector)
@@ -37,6 +36,5 @@ namespace connectivity::flat
};
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_FLAT_ETABLES_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */