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/interactionrequest.hxx | |
parent | edc264d1da7d4240c27c9f98efab09e84d78fff3 (diff) |
use unique_ptr for pImpl in ucbhelper/
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
Diffstat (limited to 'include/ucbhelper/interactionrequest.hxx')
-rw-r--r-- | include/ucbhelper/interactionrequest.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx index 3361ccb04274..03122c18742f 100644 --- a/include/ucbhelper/interactionrequest.hxx +++ b/include/ucbhelper/interactionrequest.hxx @@ -32,6 +32,7 @@ #include <rtl/ref.hxx> #include <cppuhelper/weak.hxx> #include <ucbhelper/ucbhelperdllapi.h> +#include <memory> namespace ucbhelper { @@ -63,7 +64,7 @@ class UCBHELPER_DLLPUBLIC InteractionRequest : public cppu::OWeakObject, public css::lang::XTypeProvider, public css::task::XInteractionRequest { - InteractionRequest_Impl * m_pImpl; + std::unique_ptr<InteractionRequest_Impl> m_pImpl; protected: void setRequest( const css::uno::Any & rRequest ); @@ -151,7 +152,7 @@ struct InteractionContinuation_Impl; */ class UCBHELPER_DLLPUBLIC InteractionContinuation : public cppu::OWeakObject { - InteractionContinuation_Impl * m_pImpl; + std::unique_ptr<InteractionContinuation_Impl> m_pImpl; protected: /** |