summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unolayer.hxx
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/source/ui/unoidl/unolayer.hxx
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/source/ui/unoidl/unolayer.hxx')
-rw-r--r--sd/source/ui/unoidl/unolayer.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx
index 0a78ba0eca7f..aa7d4891b38b 100644
--- a/sd/source/ui/unoidl/unolayer.hxx
+++ b/sd/source/ui/unoidl/unolayer.hxx
@@ -47,10 +47,10 @@ class SdLayer : public ::cppu::WeakImplHelper< css::drawing::XLayer,
{
public:
SdLayer(SdLayerManager* pLayerManager_, SdrLayer* pSdrLayer_);
- virtual ~SdLayer() throw() override;
+ virtual ~SdLayer() noexcept override;
// intern
- SdrLayer* GetSdrLayer() const throw() { return pLayer; }
+ SdrLayer* GetSdrLayer() const noexcept { return pLayer; }
// uno helper
UNO3_GETIMPLEMENTATION_DECL( SdLayer )
@@ -90,8 +90,8 @@ private:
SdrLayer* pLayer;
const SvxItemPropertySet* pPropSet;
- bool get( LayerAttribute what ) throw();
- void set( LayerAttribute what, bool flag ) throw();
+ bool get( LayerAttribute what ) noexcept;
+ void set( LayerAttribute what, bool flag ) noexcept;
};
@@ -108,8 +108,8 @@ class SdLayerManager : public ::cppu::WeakImplHelper< css::drawing::XLayerManage
friend class SdLayer;
public:
- explicit SdLayerManager( SdXImpressDocument& rMyModel ) throw();
- virtual ~SdLayerManager() throw() override;
+ explicit SdLayerManager( SdXImpressDocument& rMyModel ) noexcept;
+ virtual ~SdLayerManager() noexcept override;
// uno helper
UNO3_GETIMPLEMENTATION_DECL( SdLayerManager )
@@ -161,9 +161,9 @@ private:
SdXImpressDocument* mpModel;
std::unique_ptr<SvUnoWeakContainer> mpLayers;
- ::sd::View* GetView() const throw();
- ::sd::DrawDocShell* GetDocShell() const throw() { return mpModel->mpDocShell; }
- void UpdateLayerView() const throw();
+ ::sd::View* GetView() const noexcept;
+ ::sd::DrawDocShell* GetDocShell() const noexcept { return mpModel->mpDocShell; }
+ void UpdateLayerView() const noexcept;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */