summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xkey.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xkey.hxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xkey.hxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xkey.hxx b/connectivity/source/drivers/postgresql/pq_xkey.hxx
index 3174d189206b..68f05fd27d4e 100644
--- a/connectivity/source/drivers/postgresql/pq_xkey.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xkey.hxx
@@ -34,8 +34,7 @@
*
************************************************************************/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEY_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XKEY_HXX
+#pragma once
#include <cppuhelper/component.hxx>
#include <cppuhelper/propshlp.hxx>
@@ -62,12 +61,12 @@ public:
Key( const ::rtl::Reference< comphelper::RefCountedMutex > & refMutex,
const css::uno::Reference< css::sdbc::XConnection > & connection,
ConnectionSettings *pSettings,
- const OUString &schemaName,
- const OUString &tableName);
+ OUString schemaName,
+ OUString tableName);
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
@@ -96,8 +95,8 @@ public:
ConnectionSettings *pSettings );
public: // XInterface
- virtual void SAL_CALL acquire() throw() override { ReflectionBase::acquire(); }
- virtual void SAL_CALL release() throw() override { ReflectionBase::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ReflectionBase::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ReflectionBase::release(); }
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & reqType ) override;
@@ -117,6 +116,4 @@ public: // XDataDescriptorFactory
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */