diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-20 13:37:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-23 07:56:34 +0200 |
commit | 2bbf21aaded0c0623ee802e746dbf6b11d58d396 (patch) | |
tree | c50d52e7a64b21ba6f64505769c3127f6209a62b /embeddedobj/source/inc/docholder.hxx | |
parent | 4f5b22b93a53c52a46ebdd5ce479086f8df20e22 (diff) |
use rtl::Reference in DocumentHolder
instead of manual acquire/release
Change-Id: Id795dca5ff9e392fa2649f4721a73ce3ffd6de2c
Diffstat (limited to 'embeddedobj/source/inc/docholder.hxx')
-rw-r--r-- | embeddedobj/source/inc/docholder.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx index 7e8ca8f63ae1..048680cda5bf 100644 --- a/embeddedobj/source/inc/docholder.hxx +++ b/embeddedobj/source/inc/docholder.hxx @@ -36,6 +36,7 @@ #include <com/sun/star/frame/XLayoutManager.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> +#include <rtl/ref.hxx> class OCommonEmbeddedObject; class Interceptor; @@ -53,7 +54,7 @@ private: OCommonEmbeddedObject* m_pEmbedObj; - Interceptor* m_pInterceptor; + rtl::Reference<Interceptor> m_xInterceptor; css::uno::Reference< css::frame::XDispatchProviderInterceptor > m_xOutplaceInterceptor; css::uno::Reference< css::uno::XComponentContext > m_xContext; |