diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-28 12:32:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-28 12:32:53 +0300 |
commit | 7e93d98888a3fdb19fdfdff2167d8679e5116fe5 (patch) | |
tree | d4de566c8c71b38e17202ee09a6784adce96efa4 /protocols/MSN/src | |
parent | ff316f638e130d9a931e27b75b6ceda4f72c2a60 (diff) |
unused translations removed
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r-- | protocols/MSN/src/msn_ieembed.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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<IOleInPlaceObject> pOleInPlace;
if (SUCCEEDED(pWebBrowser.QueryInterface(&pOleInPlace)))
pOleInPlace->GetWindow(&hwnd);
- else
- MessageBox(nullptr, TranslateT("IID_IOleInPlaceObject failed."), TranslateT("RESULT"), MB_OK);
//setBorder();
CComPtr<IConnectionPointContainer> 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));
|