diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-20 14:54:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-23 07:56:34 +0200 |
commit | ca958f886c660ce096ef59cef808fbf46b116e3c (patch) | |
tree | c1e7ed669a0b0c26425f55e8b72edae1dc83623c /include | |
parent | 9605f1cd1375fc56e3a3ec76fa04e5a7a3caa70f (diff) |
use rtl::Reference in SfxInPlaceClient
instead of manual acquire/release
Change-Id: I4ebbdbcbd619991c3dae0733b797f310903f96e6
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/ipclient.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/ipclient.hxx b/include/sfx2/ipclient.hxx index 0615ca6da2f5..23ec5e412d77 100644 --- a/include/sfx2/ipclient.hxx +++ b/include/sfx2/ipclient.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> +#include <rtl/ref.hxx> #include <tools/gen.hxx> @@ -41,7 +42,7 @@ class SFX2_DLLPUBLIC SfxInPlaceClient { friend class SfxInPlaceClient_Impl; - SfxInPlaceClient_Impl* m_pImp; + rtl::Reference<SfxInPlaceClient_Impl> m_xImp; SfxViewShell* m_pViewSh; VclPtr<vcl::Window> m_pEditWin; |