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/providerhelper.hxx | |
parent | edc264d1da7d4240c27c9f98efab09e84d78fff3 (diff) |
use unique_ptr for pImpl in ucbhelper/
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
Diffstat (limited to 'include/ucbhelper/providerhelper.hxx')
-rw-r--r-- | include/ucbhelper/providerhelper.hxx | 3 |
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; |