summaryrefslogtreecommitdiffstats
path: root/include/ucbhelper/contenthelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 09:52:47 +0200
committerNoel Grandin <noel@peralex.com>2015-11-17 10:59:48 +0200
commit5fc51f8d254da21d5ed2d3fb9293020bbfbfab92 (patch)
treeb96268f95e87e0e342275b2cd0f87fd6d090c4ec /include/ucbhelper/contenthelper.hxx
parentuse unique_ptr for pImpl in unotools/ (diff)
downloadcore-5fc51f8d254da21d5ed2d3fb9293020bbfbfab92.tar.gz
core-5fc51f8d254da21d5ed2d3fb9293020bbfbfab92.zip
use unique_ptr for pImpl in ucbhelper/
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
Diffstat (limited to 'include/ucbhelper/contenthelper.hxx')
-rw-r--r--include/ucbhelper/contenthelper.hxx3
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;