summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdcrtv.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 10:22:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 11:55:19 +0000
commitd5cd223c48667770eeec3ef18c8b1b29d8ba564c (patch)
treea4b1788e7ffcd5eaddbc2519a9ad76bb39b7c2cf /svx/source/svdraw/svdcrtv.cxx
parent3e6042c2ce4613f5f200739b5842d4e38e8ec54a (diff)
loplugin: unnecessary destructor svx
Change-Id: I7feed30eea4f7367943fa2d6e0d75be5ca209068 Reviewed-on: https://gerrit.libreoffice.org/33516 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdcrtv.cxx')
-rw-r--r--svx/source/svdraw/svdcrtv.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index 3dcda7360448..2b3ff4203766 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -53,7 +53,10 @@ class ImplConnectMarkerOverlay
public:
ImplConnectMarkerOverlay(const SdrCreateView& rView, SdrObject& rObject);
- ~ImplConnectMarkerOverlay();
+
+ // The OverlayObjects are cleared using the destructor of OverlayObjectList.
+ // That destructor calls clear() at the list which removes all objects from the
+ // OverlayManager and deletes them.
const SdrObject& GetTargetObject() const { return mrObject; }
};
@@ -107,14 +110,6 @@ ImplConnectMarkerOverlay::ImplConnectMarkerOverlay(const SdrCreateView& rView, S
}
}
-ImplConnectMarkerOverlay::~ImplConnectMarkerOverlay()
-{
- // The OverlayObjects are cleared using the destructor of OverlayObjectList.
- // That destructor calls clear() at the list which removes all objects from the
- // OverlayManager and deletes them.
-}
-
-
class ImpSdrCreateViewExtraData
{
// The OverlayObjects for XOR replacement