From 287386df1f9277c8fbd22d48a8ff3dd9d183e1bc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 31 Aug 2017 12:08:45 +0200 Subject: [PATCH] loplugin:constparams: embeddedobj (clang-cl) Change-Id: Ic6616f432178fe1f972c5f819302a4fb6b4154fd --- embeddedobj/source/msole/olecomponent.cxx | 2 +- embeddedobj/source/msole/olecomponent.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 26a5d350e6ea..3ae151b01b21 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -872,7 +872,7 @@ void OleComponent::CreateLinkFromFile( const OUString& aFileURL ) } -void OleComponent::InitEmbeddedCopyOfLink( OleComponent* pOleLinkComponent ) +void OleComponent::InitEmbeddedCopyOfLink( OleComponent const * pOleLinkComponent ) { if ( !pOleLinkComponent || !pOleLinkComponent->m_pNativeImpl->m_pObj ) throw lang::IllegalArgumentException(); // TODO diff --git a/embeddedobj/source/msole/olecomponent.hxx b/embeddedobj/source/msole/olecomponent.hxx index 088c3108bbf9..f9d3c58cbf39 100644 --- a/embeddedobj/source/msole/olecomponent.hxx +++ b/embeddedobj/source/msole/olecomponent.hxx @@ -109,7 +109,7 @@ public: const css::uno::Reference< css::datatransfer::XTransferable >& xTransfer ); void CreateObjectFromFile( const OUString& aFileName ); void CreateLinkFromFile( const OUString& aFileName ); - void InitEmbeddedCopyOfLink( OleComponent* pOleLinkComponent ); + void InitEmbeddedCopyOfLink( OleComponent const * pOleLinkComponent ); void RunObject(); // switch OLE object to running state