summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-29 21:10:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-10 07:03:27 +0000
commit5f1b9ae3994282ec1be3690292957b8b99032e2d (patch)
tree61710695dbcc238a766999ae319eccc213ce1631 /include/svl
parent901026cfbbf12f778e039a7b523bf30e8019e8ed (diff)
tdf#89329: use shared_ptr for pImpl in cjkoptions
Change-Id: I0ad43869d24e210b3591af25f108c68ed8f6160b Reviewed-on: https://gerrit.libreoffice.org/25634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/cjkoptions.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/cjkoptions.hxx b/include/svl/cjkoptions.hxx
index a599e8406882..e35cfb2bfe27 100644
--- a/include/svl/cjkoptions.hxx
+++ b/include/svl/cjkoptions.hxx
@@ -22,6 +22,7 @@
#include <svl/svldllapi.h>
#include <sal/types.h>
#include <unotools/options.hxx>
+#include <memory>
class SvtCJKOptions_Impl;
@@ -30,7 +31,7 @@ class SvtCJKOptions_Impl;
class SVL_DLLPUBLIC SvtCJKOptions: public utl::detail::Options
{
private:
- SvtCJKOptions_Impl* pImp;
+ std::shared_ptr<SvtCJKOptions_Impl> pImpl;
public: