summaryrefslogtreecommitdiff
path: root/chart2/source/controller
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /chart2/source/controller
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2/source/controller')
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx4
-rw-r--r--chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx4
-rw-r--r--chart2/source/controller/main/ElementSelector.cxx4
-rw-r--r--chart2/source/controller/main/ElementSelector.hxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
index 1b8c50d385f1..0b2a87cd67c0 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
@@ -71,11 +71,11 @@ uno::Any SAL_CALL CreationWizardUnoDlg::queryInterface( const uno::Type& aType )
{
return OComponentHelper::queryInterface( aType );
}
-void SAL_CALL CreationWizardUnoDlg::acquire() throw ()
+void SAL_CALL CreationWizardUnoDlg::acquire() noexcept
{
OComponentHelper::acquire();
}
-void SAL_CALL CreationWizardUnoDlg::release() throw ()
+void SAL_CALL CreationWizardUnoDlg::release() noexcept
{
OComponentHelper::release();
}
diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
index 645d4bbec094..b58b918c249d 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
@@ -57,8 +57,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
virtual css::uno::Any SAL_CALL queryAggregation( css::uno::Type const & 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;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx
index aea893a66ffa..8e448fa355fe 100644
--- a/chart2/source/controller/main/ElementSelector.cxx
+++ b/chart2/source/controller/main/ElementSelector.cxx
@@ -274,11 +274,11 @@ Any SAL_CALL ElementSelectorToolbarController::queryInterface( const Type& _rTyp
aReturn = ElementSelectorToolbarController_BASE::queryInterface(_rType);
return aReturn;
}
-void SAL_CALL ElementSelectorToolbarController::acquire() throw ()
+void SAL_CALL ElementSelectorToolbarController::acquire() noexcept
{
ToolboxController::acquire();
}
-void SAL_CALL ElementSelectorToolbarController::release() throw ()
+void SAL_CALL ElementSelectorToolbarController::release() noexcept
{
ToolboxController::release();
}
diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx
index 83e605819f41..67305fcf8266 100644
--- a/chart2/source/controller/main/ElementSelector.hxx
+++ b/chart2/source/controller/main/ElementSelector.hxx
@@ -82,8 +82,8 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
// XStatusListener
virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override;