diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-10 14:41:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 09:06:06 +0100 |
commit | 7002caa97e10d29353d3490b4fbb782d436575b3 (patch) | |
tree | 98c254c9f94272e145417034f5cdc85b942edf74 /sd | |
parent | a370e7ff7e8225b8343678401eca5a1721b2b9bb (diff) |
new loplugin:trivialdestructor
look for potentially trivial destructors that can then be elided
Change-Id: I435c251bd4291b5864c20d68f88676faac7c43fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131318
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
6 files changed, 0 insertions, 14 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsProperties.cxx b/sd/source/ui/slidesorter/controller/SlsProperties.cxx index 0d89b205a09a..f1152a3735e6 100644 --- a/sd/source/ui/slidesorter/controller/SlsProperties.cxx +++ b/sd/source/ui/slidesorter/controller/SlsProperties.cxx @@ -38,10 +38,6 @@ Properties::Properties() { } -Properties::~Properties() -{ -} - void Properties::HandleDataChangeEvent() { maBackgroundColor = Application::GetSettings().GetStyleSettings().GetWindowColor(); diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 4b611859078a..52e05557e903 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -117,10 +117,6 @@ SlotManager::SlotManager (SlideSorter& rSlideSorter) { } -SlotManager::~SlotManager() -{ -} - void SlotManager::FuTemporary (SfxRequest& rRequest) { SdDrawDocument* pDocument = mrSlideSorter.GetModel().GetDocument(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx index bda6b64ab8a3..344ac67f38bd 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx @@ -29,7 +29,6 @@ class Properties { public: Properties(); - ~Properties(); /** Call this method after receiving a VclEventId::ApplicationDataChanged event. diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx index c56f2e0b8e9c..57de8422ac40 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx @@ -46,8 +46,6 @@ public: */ SlotManager(SlideSorter& rSlideSorter); - ~SlotManager(); - void FuTemporary(SfxRequest& rRequest); void FuPermanent(SfxRequest& rRequest); void FuSupport(SfxRequest& rRequest); diff --git a/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx b/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx index 7349ec0bb35e..89eae16ca53f 100644 --- a/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx +++ b/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx @@ -32,7 +32,6 @@ class VisualState { public: VisualState(const sal_Int32 nPageId); - ~VisualState(); const Point& GetLocationOffset() const { return maLocationOffset; } void SetLocationOffset(const Point& rPoint); diff --git a/sd/source/ui/slidesorter/model/SlsVisualState.cxx b/sd/source/ui/slidesorter/model/SlsVisualState.cxx index b342e1aeee22..3e16823ff81d 100644 --- a/sd/source/ui/slidesorter/model/SlsVisualState.cxx +++ b/sd/source/ui/slidesorter/model/SlsVisualState.cxx @@ -27,8 +27,6 @@ VisualState::VisualState(const sal_Int32 nPageId) { } -VisualState::~VisualState() {} - void VisualState::SetLocationOffset(const Point& rOffset) { if (maLocationOffset != rOffset) |