diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 09:52:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-17 10:59:48 +0200 |
commit | 5fc51f8d254da21d5ed2d3fb9293020bbfbfab92 (patch) | |
tree | b96268f95e87e0e342275b2cd0f87fd6d090c4ec /include/ucbhelper/contenthelper.hxx | |
parent | edc264d1da7d4240c27c9f98efab09e84d78fff3 (diff) |
use unique_ptr for pImpl in ucbhelper/
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
Diffstat (limited to 'include/ucbhelper/contenthelper.hxx')
-rw-r--r-- | include/ucbhelper/contenthelper.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx index 20b15c71f8aa..91cf9934ae94 100644 --- a/include/ucbhelper/contenthelper.hxx +++ b/include/ucbhelper/contenthelper.hxx @@ -38,6 +38,7 @@ #include <rtl/ref.hxx> #include <ucbhelper/macros.hxx> #include <ucbhelper/ucbhelperdllapi.h> +#include <memory> namespace com { namespace sun { namespace star { namespace ucb { struct CommandInfo; @@ -96,7 +97,7 @@ class UCBHELPER_DLLPUBLIC ContentImplHelper : friend class PropertySetInfo; friend class CommandProcessorInfo; - ucbhelper_impl::ContentImplHelper_Impl* m_pImpl; + std::unique_ptr<ucbhelper_impl::ContentImplHelper_Impl> m_pImpl; protected: osl::Mutex m_aMutex; |