diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-06-01 01:21:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-03 06:49:46 +0000 |
commit | 2d2971090b31776719e83d811c17a01aaf5222c7 (patch) | |
tree | eaf4f307ca2d1b0ee740b5844f4192dae8a55a3b /comphelper | |
parent | 9196de99ed4dff2c1f8708bfd68da9b6424ae53b (diff) |
tdf#89329: use unique_ptr for pImpl in accimplaccess
Change-Id: Ib10088b5669695dd5e288fe043ad72056a34b1e4
Reviewed-on: https://gerrit.libreoffice.org/25745
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accimplaccess.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx index 76ed77c0ee9d..1c4096f38e08 100644 --- a/comphelper/source/misc/accimplaccess.cxx +++ b/comphelper/source/misc/accimplaccess.cxx @@ -24,6 +24,7 @@ #include <set> #include <string.h> +#include <memory> namespace comphelper @@ -49,8 +50,6 @@ namespace comphelper OAccessibleImplementationAccess::~OAccessibleImplementationAccess( ) { - delete m_pImpl; - m_pImpl = nullptr; } |