diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-26 02:05:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:36:43 +0000 |
commit | 656f7c15c5a6e3cbc7df3e2e56287289d1296f8a (patch) | |
tree | 8ec057d6178d131a3ac33b0a42ecad69c4b00a5b /include/svtools/htmlcfg.hxx | |
parent | f1aa4c4e281703b3f623202f4727703482076ea8 (diff) |
tdf#89329: use unique_ptr for pImpl in htmlcfg
Change-Id: Ic85c082f1e6f6934efbe2c0aa73ee4e5d48c58bf
Reviewed-on: https://gerrit.libreoffice.org/25483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/htmlcfg.hxx')
-rw-r--r-- | include/svtools/htmlcfg.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/htmlcfg.hxx b/include/svtools/htmlcfg.hxx index d0d2be7dca65..5e46488d126c 100644 --- a/include/svtools/htmlcfg.hxx +++ b/include/svtools/htmlcfg.hxx @@ -21,6 +21,7 @@ #include <unotools/configitem.hxx> #include <svtools/svtdllapi.h> +#include <memory> #define HTML_FONT_COUNT 7 @@ -36,7 +37,7 @@ struct HtmlOptions_Impl; class SVT_DLLPUBLIC SvxHtmlOptions : public utl::ConfigItem { - HtmlOptions_Impl*pImp; + std::unique_ptr<HtmlOptions_Impl> pImpl; static const css::uno::Sequence<OUString>& GetPropertyNames(); void Load( const css::uno::Sequence< OUString >& rPropertyNames ); |