summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab/MacabStatement.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/macab/MacabStatement.hxx')
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.hxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx
index 3c8187016499..700a895c0a38 100644
--- a/connectivity/source/drivers/macab/MacabStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabStatement.hxx
@@ -17,24 +17,22 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABSTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABSTATEMENT_HXX
+#pragma once
#include "MacabConnection.hxx"
#include "MacabHeader.hxx"
#include <connectivity/sqliterator.hxx>
#include <connectivity/sqlparse.hxx>
#include <com/sun/star/sdbc/XStatement.hpp>
+#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/util/XCancellable.hpp>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/basemutex.hxx>
#include <comphelper/proparrhlp.hxx>
-namespace connectivity
+namespace connectivity::macab
{
- namespace macab
- {
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XStatement,
css::sdbc::XWarningsSupplier,
css::util::XCancellable,
@@ -109,8 +107,8 @@ namespace connectivity
using MacabCommonStatement_BASE::disposing;
// XInterface
- virtual void SAL_CALL release() throw() override;
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL release() noexcept override;
+ virtual void SAL_CALL acquire() noexcept override;
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & rType
) override;
@@ -166,9 +164,6 @@ namespace connectivity
explicit MacabStatement(MacabConnection* _pConnection);
DECLARE_SERVICE_INFO();
};
- }
}
-#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MACAB_MACABSTATEMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */