From 769b537b5e1a99fc53aa7296fd2b21dc77a4071c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Aug 2015 20:33:13 +0000 Subject: name conflicts solved git-svn-id: http://svn.miranda-ng.org/main/trunk@14971 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/IEView.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/IEView') diff --git a/plugins/IEView/src/IEView.cpp b/plugins/IEView/src/IEView.cpp index d92c3ce688..09c7afd088 100644 --- a/plugins/IEView/src/IEView.cpp +++ b/plugins/IEView/src/IEView.cpp @@ -882,12 +882,12 @@ void IEView::clear(IEVIEWEVENT *event) if (document == NULL) { pWebBrowser->Navigate(L"about:blank", NULL, NULL, NULL, NULL); HRESULT hr = S_OK; - CComPtr document; - while ((document == NULL) && (hr == S_OK)) { + CComPtr doc2; + while ((doc2 == NULL) && (hr == S_OK)) { Sleep(0); CComPtr dispatch; if (SUCCEEDED(pWebBrowser->get_Document(&dispatch)) && dispatch != NULL) - dispatch.QueryInterface(&document); + dispatch.QueryInterface(&doc2); } } else { @@ -935,9 +935,9 @@ HWND IEView::getHWND() return hwnd; } -void IEView::setContact(MCONTACT hContact) +void IEView::setContact(MCONTACT _hContact) { - this->hContact = hContact; + hContact = _hContact; isContactSet = true; } @@ -1004,9 +1004,9 @@ WCHAR* IEView::getHrefFromAnchor(CComPtr element) return url; } - CComPtr parent; - if (SUCCEEDED(element->get_parentElement(&parent)) && parent != NULL) - return getHrefFromAnchor(parent); + CComPtr pParent; + if (SUCCEEDED(element->get_parentElement(&pParent)) && pParent != NULL) + return getHrefFromAnchor(pParent); return NULL; } -- cgit v1.2.3