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 /svx/inc | |
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 'svx/inc')
-rw-r--r-- | svx/inc/AccessibleTableShape.hxx | 4 | ||||
-rw-r--r-- | svx/inc/XPropertyTable.hxx | 12 | ||||
-rw-r--r-- | svx/inc/unomlstr.hxx | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/svx/inc/AccessibleTableShape.hxx b/svx/inc/AccessibleTableShape.hxx index 45138030eec6..979fa64d3451 100644 --- a/svx/inc/AccessibleTableShape.hxx +++ b/svx/inc/AccessibleTableShape.hxx @@ -54,8 +54,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; // XAccessibleContext virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override; diff --git a/svx/inc/XPropertyTable.hxx b/svx/inc/XPropertyTable.hxx index 87015e2f1363..19da2a0b524a 100644 --- a/svx/inc/XPropertyTable.hxx +++ b/svx/inc/XPropertyTable.hxx @@ -24,12 +24,12 @@ // FIXME: should have a single factory method with an enumeration here [!] -css::uno::Reference< css::uno::XInterface > SvxUnoXColorTable_createInstance( XPropertyList* pList ) throw(); -css::uno::Reference< css::uno::XInterface > SvxUnoXLineEndTable_createInstance( XPropertyList* pList ) throw(); -css::uno::Reference< css::uno::XInterface > SvxUnoXDashTable_createInstance( XPropertyList* pList ) throw(); -css::uno::Reference< css::uno::XInterface > SvxUnoXHatchTable_createInstance( XPropertyList* pList ) throw(); -css::uno::Reference< css::uno::XInterface > SvxUnoXGradientTable_createInstance( XPropertyList* pList ) throw(); -css::uno::Reference< css::uno::XInterface > SvxUnoXBitmapTable_createInstance( XPropertyList* pList ) throw(); +css::uno::Reference< css::uno::XInterface > SvxUnoXColorTable_createInstance( XPropertyList* pList ) noexcept; +css::uno::Reference< css::uno::XInterface > SvxUnoXLineEndTable_createInstance( XPropertyList* pList ) noexcept; +css::uno::Reference< css::uno::XInterface > SvxUnoXDashTable_createInstance( XPropertyList* pList ) noexcept; +css::uno::Reference< css::uno::XInterface > SvxUnoXHatchTable_createInstance( XPropertyList* pList ) noexcept; +css::uno::Reference< css::uno::XInterface > SvxUnoXGradientTable_createInstance( XPropertyList* pList ) noexcept; +css::uno::Reference< css::uno::XInterface > SvxUnoXBitmapTable_createInstance( XPropertyList* pList ) noexcept; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/unomlstr.hxx b/svx/inc/unomlstr.hxx index 55cae9c0dfdc..989fa3cc4072 100644 --- a/svx/inc/unomlstr.hxx +++ b/svx/inc/unomlstr.hxx @@ -31,8 +31,8 @@ class SvxUnoShapeModifyListener final SdrObject* mpObj; public: - SvxUnoShapeModifyListener(SdrObject* pObj) throw(); - virtual ~SvxUnoShapeModifyListener() throw() override; + SvxUnoShapeModifyListener(SdrObject* pObj) noexcept; + virtual ~SvxUnoShapeModifyListener() noexcept override; // css::util::XModifyListener virtual void SAL_CALL modified(const css::lang::EventObject& aEvent) override; @@ -41,7 +41,7 @@ public: virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override; // internal - void invalidate() throw(); + void invalidate() noexcept; }; #endif |