summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-03-27 09:02:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-03-27 11:30:37 +0100
commitb07a990e51f9bef637cfdcb31b904c223d7ce738 (patch)
tree8d326b1ad8ae85349e3b55fed5daa00a14abaaf1 /embeddedobj
parent89a95f5fa5a2e10d2c67d33270fa31404df33fd5 (diff)
loplugin:typedefparam (clang-cl)
Change-Id: I07604028845c49cc084927e21db7f21c5d053bab Reviewed-on: https://gerrit.libreoffice.org/69796 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/advisesink.cxx4
-rw-r--r--embeddedobj/source/msole/advisesink.hxx4
-rw-r--r--embeddedobj/source/msole/olewrapclient.cxx4
-rw-r--r--embeddedobj/source/msole/olewrapclient.hxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/embeddedobj/source/msole/advisesink.cxx b/embeddedobj/source/msole/advisesink.cxx
index 2b899aa6b002..5601c8d9eb34 100644
--- a/embeddedobj/source/msole/advisesink.cxx
+++ b/embeddedobj/source/msole/advisesink.cxx
@@ -74,7 +74,7 @@ void OleWrapperAdviseSink::disconnectOleComponent()
m_pOleComp = nullptr;
}
-STDMETHODIMP_(void) OleWrapperAdviseSink::OnDataChange(LPFORMATETC, LPSTGMEDIUM)
+STDMETHODIMP_(void) OleWrapperAdviseSink::OnDataChange(FORMATETC *, STGMEDIUM *)
{
// Unused for now ( no registration for IDataObject events )
}
@@ -93,7 +93,7 @@ STDMETHODIMP_(void) OleWrapperAdviseSink::OnViewChange(DWORD dwAspect, LONG)
xLockComponent->OnViewChange_Impl( dwAspect );
}
-STDMETHODIMP_(void) OleWrapperAdviseSink::OnRename(LPMONIKER)
+STDMETHODIMP_(void) OleWrapperAdviseSink::OnRename(IMoniker *)
{
// handled by default inprocess handler
}
diff --git a/embeddedobj/source/msole/advisesink.hxx b/embeddedobj/source/msole/advisesink.hxx
index 1f43048959ec..87c89e93328e 100644
--- a/embeddedobj/source/msole/advisesink.hxx
+++ b/embeddedobj/source/msole/advisesink.hxx
@@ -42,9 +42,9 @@ public:
STDMETHODIMP_(ULONG) AddRef() override;
STDMETHODIMP_(ULONG) Release() override;
- STDMETHODIMP_(void) OnDataChange(LPFORMATETC, LPSTGMEDIUM) override;
+ STDMETHODIMP_(void) OnDataChange(FORMATETC *, STGMEDIUM *) override;
STDMETHODIMP_(void) OnViewChange(DWORD, LONG) override;
- STDMETHODIMP_(void) OnRename(LPMONIKER) override;
+ STDMETHODIMP_(void) OnRename(IMoniker *) override;
STDMETHODIMP_(void) OnSave() override;
STDMETHODIMP_(void) OnClose() override;
};
diff --git a/embeddedobj/source/msole/olewrapclient.cxx b/embeddedobj/source/msole/olewrapclient.cxx
index 7abff29ac853..15d5f16632fa 100644
--- a/embeddedobj/source/msole/olewrapclient.cxx
+++ b/embeddedobj/source/msole/olewrapclient.cxx
@@ -100,13 +100,13 @@ STDMETHODIMP OleWrapperClientSite::SaveObject()
return hResult;
}
-STDMETHODIMP OleWrapperClientSite::GetMoniker( DWORD, DWORD, LPMONIKER *ppmk )
+STDMETHODIMP OleWrapperClientSite::GetMoniker( DWORD, DWORD, IMoniker **ppmk )
{
*ppmk = nullptr;
return E_NOTIMPL;
}
-STDMETHODIMP OleWrapperClientSite::GetContainer( LPOLECONTAINER* ppContainer )
+STDMETHODIMP OleWrapperClientSite::GetContainer( IOleContainer** ppContainer )
{
*ppContainer = nullptr;
return E_NOTIMPL;
diff --git a/embeddedobj/source/msole/olewrapclient.hxx b/embeddedobj/source/msole/olewrapclient.hxx
index ad8fe0cfa1f8..66ad4ebfde7a 100644
--- a/embeddedobj/source/msole/olewrapclient.hxx
+++ b/embeddedobj/source/msole/olewrapclient.hxx
@@ -42,8 +42,8 @@ public:
STDMETHODIMP_(ULONG) Release() override;
STDMETHODIMP SaveObject() override;
- STDMETHODIMP GetMoniker(DWORD, DWORD, LPMONIKER *) override;
- STDMETHODIMP GetContainer(LPOLECONTAINER *) override;
+ STDMETHODIMP GetMoniker(DWORD, DWORD, IMoniker **) override;
+ STDMETHODIMP GetContainer(IOleContainer **) override;
STDMETHODIMP ShowObject() override;
STDMETHODIMP OnShowWindow(BOOL) override;
STDMETHODIMP RequestNewObjectLayout() override;