diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 15:40:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-18 08:35:35 +0200 |
commit | 21c5ff1287c05e24d5cc2b6100866e6992ff8381 (patch) | |
tree | 556ccbda5428414aa00d5aa1d437f245dc1cec20 /hwpfilter/source/attributes.hxx | |
parent | 2e9277c05034c157d640c289d59499be9d1ca382 (diff) |
use unique_ptr for pImpl in extensions,hwpfilter/
Change-Id: I476ba7ec2ebee8c61bf9bb6ff0309cc40affb275
Diffstat (limited to 'hwpfilter/source/attributes.hxx')
-rw-r--r-- | hwpfilter/source/attributes.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/hwpfilter/source/attributes.hxx b/hwpfilter/source/attributes.hxx index c4025044bbea..a23058e66256 100644 --- a/hwpfilter/source/attributes.hxx +++ b/hwpfilter/source/attributes.hxx @@ -23,12 +23,7 @@ #include <com/sun/star/xml/sax/XAttributeList.hpp> #include <cppuhelper/implbase.hxx> - -/*---------------------------------------- -* -* Attributlist implementation -* -*----------------------------------------*/ +#include <memory> using namespace ::cppu; using namespace ::com::sun::star::xml::sax; @@ -57,7 +52,7 @@ public: void clear(); private: - struct AttributeListImpl_impl *m_pImpl; + std::unique_ptr<AttributeListImpl_impl> m_pImpl; }; #endif // INCLUDED_HWPFILTER_SOURCE_ATTRIBUTES_HXX |