diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-03-02 10:51:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-03-03 08:49:48 +0100 |
commit | 097fcd045e99edcf418e8b34ccb6d6b0b8b8de4b (patch) | |
tree | 69e783771b4823a19a7dc8cfbeba313c1c6c09ca /embeddedobj/source/msole/olecomponent.hxx | |
parent | 31693833dc832228c3821f83e045b6869ec22cf2 (diff) |
loplugin:refcounting (clang-cl)
Change-Id: Ifa54eed0a772b658d266e9e42be5f5232e7a6b79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111812
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embeddedobj/source/msole/olecomponent.hxx')
-rw-r--r-- | embeddedobj/source/msole/olecomponent.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/olecomponent.hxx b/embeddedobj/source/msole/olecomponent.hxx index 3ff53291c01f..63547c321adc 100644 --- a/embeddedobj/source/msole/olecomponent.hxx +++ b/embeddedobj/source/msole/olecomponent.hxx @@ -32,7 +32,7 @@ #include <com/sun/star/util/XModifiable.hpp> #include <com/sun/star/util/XModifyListener.hpp> #include <com/sun/star/uno/XComponentContext.hpp> - +#include <rtl/ref.hxx> namespace cppu { class OMultiTypeInterfaceContainerHelper; @@ -103,7 +103,7 @@ public: const css::uno::Reference< css::datatransfer::XTransferable >& xTransfer ); void CreateObjectFromFile( const OUString& aFileName ); void CreateLinkFromFile( const OUString& aFileName ); - void InitEmbeddedCopyOfLink( OleComponent const * pOleLinkComponent ); + void InitEmbeddedCopyOfLink( rtl::Reference<OleComponent> const & pOleLinkComponent ); void RunObject(); // switch OLE object to running state |