From 7e93d98888a3fdb19fdfdff2167d8679e5116fe5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Mar 2019 12:32:45 +0300 Subject: unused translations removed --- protocols/MSN/src/msn_ieembed.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'protocols/MSN/src') diff --git a/protocols/MSN/src/msn_ieembed.cpp b/protocols/MSN/src/msn_ieembed.cpp index 8e2c3f1239..4d6b9aad3b 100644 --- a/protocols/MSN/src/msn_ieembed.cpp +++ b/protocols/MSN/src/msn_ieembed.cpp @@ -190,13 +190,10 @@ IEEmbed::IEEmbed(HWND _parent) pOleObject->SetClientSite(this); pOleObject->DoVerb(OLEIVERB_INPLACEACTIVATE, &msg, this, 0, this->parent, &rcClient); } - else MessageBox(nullptr, TranslateT("IID_IOleObject failed."), TranslateT("RESULT"), MB_OK); CComPtr pOleInPlace; if (SUCCEEDED(pWebBrowser.QueryInterface(&pOleInPlace))) pOleInPlace->GetWindow(&hwnd); - else - MessageBox(nullptr, TranslateT("IID_IOleInPlaceObject failed."), TranslateT("RESULT"), MB_OK); //setBorder(); CComPtr pCPContainer; @@ -208,8 +205,7 @@ IEEmbed::IEEmbed(HWND _parent) // Step 3: Advise the connection point that you // want to sink its events. sink = new IEEmbedSink(this); - if (FAILED(m_pConnectionPoint->Advise(sink, &m_dwCookie))) - MessageBox(nullptr, TranslateT("Failed to Advise"), TranslateT("C++ Event Sink"), MB_OK); + m_pConnectionPoint->Advise(sink, &m_dwCookie); } } setMainWndProc((WNDPROC)SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR)IEEmbedWindowProcedure)); -- cgit v1.2.3