summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/ThemeTable.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-24 09:54:19 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-24 09:55:28 +0200
commit724249cebb5793fb3d46e011269cabb03e3aa1b9 (patch)
treefa7dea8624c909666e059336085729f41af5d342 /writerfilter/source/dmapper/ThemeTable.hxx
parent9582380ebc2dd241ee90951c3b28d420e140bcde (diff)
writerfilter: use std::shared_ptr<> in ThemeTable
Change-Id: I9d632ed036b1d94c29adfc79df4c920791b0c0fa
Diffstat (limited to 'writerfilter/source/dmapper/ThemeTable.hxx')
-rw-r--r--writerfilter/source/dmapper/ThemeTable.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/ThemeTable.hxx b/writerfilter/source/dmapper/ThemeTable.hxx
index 34a4aa4a4385..0bc0a47b9340 100644
--- a/writerfilter/source/dmapper/ThemeTable.hxx
+++ b/writerfilter/source/dmapper/ThemeTable.hxx
@@ -25,6 +25,7 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <map>
+#include <memory>
namespace writerfilter {
namespace dmapper
@@ -34,7 +35,7 @@ struct ThemeTable_Impl;
class ThemeTable : public LoggedProperties, public LoggedTable
{
- ThemeTable_Impl *m_pImpl;
+ std::unique_ptr<ThemeTable_Impl> m_pImpl;
public:
ThemeTable();