loplugin:constparams: embeddedobj (clang-cl)

Change-Id: Ic6616f432178fe1f972c5f819302a4fb6b4154fd
This commit is contained in:
Stephan Bergmann
2017-08-31 12:08:45 +02:00
parent c74a70e07c
commit 287386df1f
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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