summaryrefslogtreecommitdiff
path: root/sd/inc
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 /sd/inc
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 'sd/inc')
-rw-r--r--sd/inc/Annotation.hxx4
-rw-r--r--sd/inc/stlsheet.hxx2
-rw-r--r--sd/inc/textapi.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index 2f36761a9acc..b32a7d1127f4 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -90,8 +90,8 @@ public:
// XInterface:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) override;
- virtual void SAL_CALL acquire() throw () override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::acquire(); }
- virtual void SAL_CALL release() throw () override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::release(); }
+ virtual void SAL_CALL acquire() noexcept override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::acquire(); }
+ virtual void SAL_CALL release() noexcept override { ::cppu::WeakComponentImplHelper<css::office::XAnnotation>::release(); }
// css::beans::XPropertySet:
virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override;
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index c0dd967e3120..8617eade17e1 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -84,7 +84,7 @@ public:
virtual bool SetName(const OUString& rNewName, bool bReindexNow = true) override;
// XInterface
- virtual void SAL_CALL release( ) throw () override;
+ virtual void SAL_CALL release( ) noexcept override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() override;
diff --git a/sd/inc/textapi.hxx b/sd/inc/textapi.hxx
index 4b2d1a751d9e..090cab889b4f 100644
--- a/sd/inc/textapi.hxx
+++ b/sd/inc/textapi.hxx
@@ -34,7 +34,7 @@ class TextApiObject final : public SvxUnoText
public:
static rtl::Reference< TextApiObject > create( SdDrawDocument* pDoc );
- virtual ~TextApiObject() throw() override;
+ virtual ~TextApiObject() noexcept override;
/// @throws css::uno::RuntimeException
void dispose();