From 37192ccc89dda5ca8c274e7cfb8b236fd5aaeb4f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 Jan 2017 08:25:15 +0200 Subject: use rtl::Reference in OleEmbeddedObject instead of raw pointer and manual acquire/release Change-Id: If626f34f3e0d7689567e2d64f94a84e5c8aae28f --- embeddedobj/source/inc/oleembobj.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'embeddedobj/source/inc/oleembobj.hxx') diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx index 4e41552d1a94..f018d01c7ad6 100644 --- a/embeddedobj/source/inc/oleembobj.hxx +++ b/embeddedobj/source/inc/oleembobj.hxx @@ -37,6 +37,7 @@ #include #include #include +#include #include @@ -177,7 +178,7 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper OUString m_aLinkURL; // ??? // points to own view provider if the object has no server - OwnView_Impl* m_pOwnView; + rtl::Reference m_xOwnView; // whether the object should be initialized from clipboard in case of default initialization bool m_bFromClipboard; -- cgit