-Werror,-Wunused-but-set-parameter (clang-cl 13 trunk)
...ever since a934115b3e "Initial revision"
Change-Id: I8935da3ee1c78fcbe5e4858ab009ef4a387b594d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117884
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -168,11 +168,9 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP_(ULONG) EmbedProviderFactory_Impl::Release()
|
||||
return nCount;
|
||||
}
|
||||
|
||||
COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedProviderFactory_Impl::CreateInstance(IUnknown* punkOuter,
|
||||
COM_DECLSPEC_NOTHROW STDMETHODIMP EmbedProviderFactory_Impl::CreateInstance(IUnknown*,
|
||||
REFIID riid, void** ppv)
|
||||
{
|
||||
punkOuter = nullptr;
|
||||
|
||||
IUnknown* pEmbedDocument = static_cast<IUnknown*>(static_cast<IPersistStorage*>( new EmbedDocument_Impl( m_xFactory, &m_guid ) ));
|
||||
|
||||
return pEmbedDocument->QueryInterface( riid, ppv );
|
||||
|
||||
Reference in New Issue
Block a user