summaryrefslogtreecommitdiff
path: root/svl/source/notify
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 14:46:26 +0200
committerNoel Grandin <noel@peralex.com>2015-11-18 08:35:34 +0200
commit0d62716f67b6269448eeae1f012f9512b503f390 (patch)
treeb390a03fed77b2bee5045f27d0609df1b863d92f /svl/source/notify
parentf43db673558a1139fba783973c87de9b79033425 (diff)
use unique_ptr for pImpl in svl/
Change-Id: Ieef897314ac0f056c0a09a5182ca59800fd58f41
Diffstat (limited to 'svl/source/notify')
-rw-r--r--svl/source/notify/SfxBroadcaster.cxx2
-rw-r--r--svl/source/notify/lstner.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/svl/source/notify/SfxBroadcaster.cxx b/svl/source/notify/SfxBroadcaster.cxx
index 0a7ef4b4e963..eaeed4dbee49 100644
--- a/svl/source/notify/SfxBroadcaster.cxx
+++ b/svl/source/notify/SfxBroadcaster.cxx
@@ -64,8 +64,6 @@ SfxBroadcaster::~SfxBroadcaster()
if (pListener)
pListener->RemoveBroadcaster_Impl(*this);
}
-
- delete mpImpl;
}
diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx
index e24becc4f1e1..8c3bdfb58e76 100644
--- a/svl/source/notify/lstner.cxx
+++ b/svl/source/notify/lstner.cxx
@@ -58,8 +58,6 @@ SfxListener::~SfxListener()
SfxBroadcaster *pBC = mpImpl->maBCs[nPos];
pBC->RemoveListener(*this);
}
-
- delete mpImpl;
}