mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[BROWSEUI]
* Fix a couple redundant IFs. CORE-8248 #resolve #comment Thanks for reporting. svn path=/branches/shell-experiments/; revision=63381
This commit is contained in:
parent
24010ffd80
commit
8c1bafc6f8
2 changed files with 2 additions and 4 deletions
|
@ -217,7 +217,6 @@ HRESULT STDMETHODCALLTYPE CAddressBand::SetSite(IUnknown *pUnkSite)
|
|||
hResult = IUnknown_QueryService(pUnkSite, SID_SShellBrowser, IID_PPV_ARG(IBrowserService, &browserService));
|
||||
if (SUCCEEDED(hResult))
|
||||
{
|
||||
if (SUCCEEDED(hResult))
|
||||
hResult = AtlAdvise(browserService, static_cast<IDispatch *>(this), DIID_DWebBrowserEvents, &fAdviseCookie);
|
||||
}
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@ HRESULT STDMETHODCALLTYPE CAddressEditBox::Init(HWND comboboxEx, HWND editContro
|
|||
HRESULT hResult = IUnknown_QueryService(param18, SID_SShellBrowser, IID_PPV_ARG(IBrowserService, &browserService));
|
||||
if (SUCCEEDED(hResult))
|
||||
{
|
||||
if (SUCCEEDED(hResult))
|
||||
hResult = AtlAdvise(browserService, static_cast<IDispatch *>(this), DIID_DWebBrowserEvents, &fAdviseCookie);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue