summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-10 01:38:09 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-10 17:33:33 +0000
commitc17c4ca9f49f3f7f7c023c6afd172f43cf283a78 (patch)
tree87214bf7c0b69c112baf9ce451b6945c1c354a04 /include/svl
parentfd8f328462fc20d9a3a03b5f8ceb78faedeaa602 (diff)
tdf#89329: use shared_ptr for pImpl in ctloptions
Change-Id: I196f2bbff0e7796804c2d74eb68ebf914796993d Reviewed-on: https://gerrit.libreoffice.org/26138 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/ctloptions.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/ctloptions.hxx b/include/svl/ctloptions.hxx
index 0cc0e5b8141a..518f73e1d6b1 100644
--- a/include/svl/ctloptions.hxx
+++ b/include/svl/ctloptions.hxx
@@ -22,6 +22,7 @@
#include <svl/svldllapi.h>
#include <sal/types.h>
#include <unotools/options.hxx>
+#include <memory>
class SvtCTLOptions_Impl;
@@ -30,7 +31,7 @@ class SvtCTLOptions_Impl;
class SVL_DLLPUBLIC SvtCTLOptions : public utl::detail::Options
{
private:
- SvtCTLOptions_Impl* m_pImp;
+ std::shared_ptr<SvtCTLOptions_Impl> m_pImpl;
public: