diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-06-25 14:01:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-06-25 21:12:22 +0200 |
commit | 3c5ac66e21bc3b0efffe44743fbb5289da85a4f6 (patch) | |
tree | 017d352f111c4f31304c830925a25ccc201fe214 /embedserv | |
parent | b0eb7f3e7010539aad7c0d8496dfc539c87ed859 (diff) |
-Werror,-Wunused-but-set-parameter (clang-cl 13 trunk)
...ever since a934115b3ea90d7883681a6ca8922a4b859be36f "Initial revision"
Change-Id: I8935da3ee1c78fcbe5e4858ab009ef4a387b594d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117884
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/servprov.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index 8a1efd5152a5..ebf6c1eb2c28 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -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 ); |