summaryrefslogtreecommitdiff
path: root/include/ucbhelper/providerhelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/ucbhelper/providerhelper.hxx')
-rw-r--r--include/ucbhelper/providerhelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ucbhelper/providerhelper.hxx b/include/ucbhelper/providerhelper.hxx
index 91c76f140560..0941e085f530 100644
--- a/include/ucbhelper/providerhelper.hxx
+++ b/include/ucbhelper/providerhelper.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_UCBHELPER_PROVIDERHELPER_HXX
#include <list>
+#include <memory>
#include <com/sun/star/ucb/XContentProvider.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -70,7 +71,7 @@ class UCBHELPER_DLLPUBLIC ContentProviderImplHelper : public cppu::OWeakObject,
{
friend class ContentImplHelper;
- ucbhelper_impl::ContentProviderImplHelper_Impl* m_pImpl;
+ std::unique_ptr<ucbhelper_impl::ContentProviderImplHelper_Impl> m_pImpl;
protected:
osl::Mutex m_aMutex;