From 5e10673c45a91e474680a1a998cd6934f9627faa Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 23 Jan 2016 16:28:19 +0000 Subject: this is bad idea git-svn-id: http://svn.miranda-ng.org/main/trunk@16148 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/external_funcs.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'plugins/IEView/src/external_funcs.cpp') diff --git a/plugins/IEView/src/external_funcs.cpp b/plugins/IEView/src/external_funcs.cpp index b7150ff3c9..d01e114458 100644 --- a/plugins/IEView/src/external_funcs.cpp +++ b/plugins/IEView/src/external_funcs.cpp @@ -46,15 +46,7 @@ namespace External return S_OK; } - HRESULT IEView_SetContextMenuHandler(IEView *self, DISPPARAMS *pDispParams, VARIANT *pVarResult) - { - if (pDispParams == nullptr || pDispParams->cArgs < 1) - return E_INVALIDARG; - self->Set_ContextMenuHandler(mir_wstrdup(pDispParams->rgvarg[0].bstrVal)); - return S_OK; - } - - HRESULT IEView_GetCurrentContact(IEView *self, DISPPARAMS *pDispParams, VARIANT *pVarResult) + HRESULT IEView_GetCurrentContact(IEView *self, DISPPARAMS*, VARIANT *pVarResult) { if (pVarResult != nullptr) { @@ -173,7 +165,7 @@ namespace External return S_OK; } - HRESULT win32_CopyToClipboard(DISPPARAMS *pDispParams, VARIANT *pVarResult) + HRESULT win32_CopyToClipboard(DISPPARAMS *pDispParams, VARIANT*) { if (pDispParams == nullptr || pDispParams->cArgs < 1) return E_INVALIDARG; -- cgit v1.2.3