diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-06-01 01:54:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-01 07:01:12 +0000 |
commit | d080fb811d23fe4d4a3bb2efd079cc9446709f73 (patch) | |
tree | c3629055de32083978ec6f8aeb92cf7490368993 /include/sfx2/msgpool.hxx | |
parent | 2ba7893243fff5d6fbd0b706368877b7a5123569 (diff) |
tdf#89329: use unique_ptr for pImpl in msgpool
Change-Id: I97f7deab763b4da8e267e871cb78d0547711e777
Reviewed-on: https://gerrit.libreoffice.org/25751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/msgpool.hxx')
-rw-r--r-- | include/sfx2/msgpool.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/msgpool.hxx b/include/sfx2/msgpool.hxx index 7ea00d1fe75c..b4ff13275ae3 100644 --- a/include/sfx2/msgpool.hxx +++ b/include/sfx2/msgpool.hxx @@ -35,9 +35,9 @@ typedef std::vector<SfxInterface*> SfxInterfaceArr_Impl; class SFX2_DLLPUBLIC SfxSlotPool { - SfxSlotGroupArr_Impl* _pGroups; + std::unique_ptr<SfxSlotGroupArr_Impl> _pGroups; SfxSlotPool* _pParentPool; - SfxInterfaceArr_Impl* _pInterfaces; + std::unique_ptr<SfxInterfaceArr_Impl> _pInterfaces; sal_uInt16 _nCurGroup; sal_uInt16 _nCurInterface; sal_uInt16 _nCurMsg; |