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 /basctl | |
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 'basctl')
-rw-r--r-- | basctl/source/basicide/basidectrlr.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/unomodel.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/unomodel.hxx | 4 | ||||
-rw-r--r-- | basctl/source/inc/basidectrlr.hxx | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/basctl/source/basicide/basidectrlr.cxx b/basctl/source/basicide/basidectrlr.cxx index 88e67bc3bbc0..849bff30cbe7 100644 --- a/basctl/source/basicide/basidectrlr.cxx +++ b/basctl/source/basicide/basidectrlr.cxx @@ -61,12 +61,12 @@ Any SAL_CALL Controller::queryInterface( const Type & rType ) return aReturn; } -void SAL_CALL Controller::acquire() throw() +void SAL_CALL Controller::acquire() noexcept { SfxBaseController::acquire(); } -void SAL_CALL Controller::release() throw() +void SAL_CALL Controller::release() noexcept { SfxBaseController::release(); } diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx index f22634935fcc..4a9ee759f060 100644 --- a/basctl/source/basicide/unomodel.cxx +++ b/basctl/source/basicide/unomodel.cxx @@ -59,13 +59,13 @@ uno::Any SAL_CALL SIDEModel::queryInterface( const uno::Type& rType ) return aRet; } -void SAL_CALL SIDEModel::acquire() throw() +void SAL_CALL SIDEModel::acquire() noexcept { SolarMutexGuard aGuard; OWeakObject::acquire(); } -void SAL_CALL SIDEModel::release() throw() +void SAL_CALL SIDEModel::release() noexcept { SolarMutexGuard aGuard; OWeakObject::release(); diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx index 23b458fd8220..b47873005699 100644 --- a/basctl/source/basicide/unomodel.hxx +++ b/basctl/source/basicide/unomodel.hxx @@ -35,8 +35,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; //XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; diff --git a/basctl/source/inc/basidectrlr.hxx b/basctl/source/inc/basidectrlr.hxx index 7db0824df744..a32e1ffd94af 100644 --- a/basctl/source/inc/basidectrlr.hxx +++ b/basctl/source/inc/basidectrlr.hxx @@ -45,8 +45,8 @@ public: // XInterface 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; // XTypeProvider ( ::SfxBaseController ) virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; |