summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-04 23:07:09 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:18:44 +0000
commitc9ff3efd2cc1a0bcf09b073972ecf21b244f9fd8 (patch)
treed708fb31792c34545958c88d586ead6f4d086f14 /include
parent52af06b471ed3e4627be3950330ad311b71c275b (diff)
tdf#89329: use unique_ptr for pImpl in accessiblestatesethelper
Change-Id: I768bfd5a19a2633e6d6cd37f919c20cbfc76824e Reviewed-on: https://gerrit.libreoffice.org/25905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/unotools/accessiblestatesethelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/unotools/accessiblestatesethelper.hxx b/include/unotools/accessiblestatesethelper.hxx
index f8803026f264..86d49508ac50 100644
--- a/include/unotools/accessiblestatesethelper.hxx
+++ b/include/unotools/accessiblestatesethelper.hxx
@@ -29,6 +29,7 @@
#include <osl/mutex.hxx>
#include <cppuhelper/implbase1.hxx>
#include <comphelper/servicehelper.hxx>
+#include <memory>
class AccessibleStateSetHelperImpl;
@@ -144,7 +145,7 @@ protected:
private:
/// The implementation of this helper interface.
- AccessibleStateSetHelperImpl* mpHelperImpl;
+ std::unique_ptr<AccessibleStateSetHelperImpl> mpHelperImpl;
};
}