diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 14:46:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-18 08:35:34 +0200 |
commit | 0d62716f67b6269448eeae1f012f9512b503f390 (patch) | |
tree | b390a03fed77b2bee5045f27d0609df1b863d92f /include/svl/SfxBroadcaster.hxx | |
parent | f43db673558a1139fba783973c87de9b79033425 (diff) |
use unique_ptr for pImpl in svl/
Change-Id: Ieef897314ac0f056c0a09a5182ca59800fd58f41
Diffstat (limited to 'include/svl/SfxBroadcaster.hxx')
-rw-r--r-- | include/svl/SfxBroadcaster.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/SfxBroadcaster.hxx b/include/svl/SfxBroadcaster.hxx index 97afa702c224..e5fb5e16b96a 100644 --- a/include/svl/SfxBroadcaster.hxx +++ b/include/svl/SfxBroadcaster.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SVL_BRDCST_HXX #include <svl/svldllapi.h> +#include <memory> class SfxListener; class SfxHint; @@ -28,7 +29,7 @@ class SfxBroadcasterTest; class SVL_DLLPUBLIC SfxBroadcaster { struct Impl; - Impl* mpImpl; + std::unique_ptr<Impl> mpImpl; private: void AddListener( SfxListener& rListener ); |