summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/ado/ACallableStatement.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/ado/ACallableStatement.hxx')
-rw-r--r--connectivity/source/inc/ado/ACallableStatement.hxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/connectivity/source/inc/ado/ACallableStatement.hxx b/connectivity/source/inc/ado/ACallableStatement.hxx
index 6d6979e40f35..e58617b3b00e 100644
--- a/connectivity/source/inc/ado/ACallableStatement.hxx
+++ b/connectivity/source/inc/ado/ACallableStatement.hxx
@@ -17,18 +17,15 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACALLABLESTATEMENT_HXX
-#define INCLUDED_CONNECTIVITY_SOURCE_INC_ADO_ACALLABLESTATEMENT_HXX
+#pragma once
#include <ado/APreparedStatement.hxx>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XOutParameters.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-namespace connectivity
+namespace connectivity::ado
{
- namespace ado
- {
//************ Class: java.sql.CallableStatement
@@ -45,8 +42,8 @@ namespace connectivity
OCallableStatement( OConnection* _pConnection, const OUString& sql );
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XRow
virtual sal_Bool SAL_CALL wasNull( ) override;
@@ -73,9 +70,7 @@ namespace connectivity
virtual void SAL_CALL registerOutParameter( sal_Int32 parameterIndex, sal_Int32 sqlType, const OUString& typeName ) override;
virtual void SAL_CALL registerNumericOutParameter( sal_Int32 parameterIndex, sal_Int32 sqlType, sal_Int32 scale ) override;
};
- }
}
-#endif // _CONNECTIVITY_OCallableStatement_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */