diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-04-30 08:20:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-05-02 17:02:28 +0200 |
commit | 10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch) | |
tree | 7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /forms | |
parent | a9243e626193ab4efe3a618413886773336a38e6 (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 'forms')
-rw-r--r-- | forms/source/component/imgprod.hxx | 4 | ||||
-rw-r--r-- | forms/source/richtext/richtextunowrapper.cxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextunowrapper.hxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/model.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/model.hxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/submission.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/submission.hxx | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx index 45a0fa89baa7..0e746eb6bd5d 100644 --- a/forms/source/component/imgprod.hxx +++ b/forms/source/component/imgprod.hxx @@ -70,8 +70,8 @@ public: // css::uno::XInterface css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; - void SAL_CALL acquire() throw() override { OWeakObject::acquire(); } - void SAL_CALL release() throw() override { OWeakObject::release(); } + void SAL_CALL acquire() noexcept override { OWeakObject::acquire(); } + void SAL_CALL release() noexcept override { OWeakObject::release(); } // MT: ??? void setImage( css::uno::Reference< css::io::XInputStream > const & rStmRef ); diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx index 25eb28742bfb..5f7a6353ea78 100644 --- a/forms/source/richtext/richtextunowrapper.cxx +++ b/forms/source/richtext/richtextunowrapper.cxx @@ -65,7 +65,7 @@ namespace frm } - ORichTextUnoWrapper::~ORichTextUnoWrapper() throw() + ORichTextUnoWrapper::~ORichTextUnoWrapper() noexcept { } diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index 33651f563538..0acb3c53d3e3 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -42,7 +42,7 @@ namespace frm ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ); protected: - virtual ~ORichTextUnoWrapper() throw() override; + virtual ~ORichTextUnoWrapper() noexcept override; private: diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 994a415bb8f4..b82b0fc9de80 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -104,7 +104,7 @@ Model::Model() : DBG_INVARIANT(); } -Model::~Model() throw() +Model::~Model() noexcept { } diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index af543dd139bf..9deb8a834ae5 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -110,7 +110,7 @@ public: /// create a new model with an empty, default instance Model(); - virtual ~Model() throw() override; + virtual ~Model() noexcept override; xforms::EvaluationContext getEvaluationContext(); diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index af59247c8668..1acfe50e87d2 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -90,7 +90,7 @@ Submission::Submission() : initializePropertySet(); } -Submission::~Submission() throw() +Submission::~Submission() noexcept { } diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index 09983d28b1c6..1e7f17e4cfc7 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -89,7 +89,7 @@ private: public: Submission(); - virtual ~Submission() throw() override; + virtual ~Submission() noexcept override; // property methods: get/set value |