Index: src/plugin/PluginClass.cpp |
=================================================================== |
--- a/src/plugin/PluginClass.cpp |
+++ b/src/plugin/PluginClass.cpp |
@@ -94,10 +94,7 @@ |
m_tab = new CPluginTab(this); |
- CPluginSystem* system = CPluginSystem::GetInstance(); |
- |
- std::wstring locale((LPCWSTR)system->GetBrowserLanguage()); |
- Dictionary::Create(locale); |
+ Dictionary::Create(GetBrowserLanguage()); |
} |
CPluginClass::~CPluginClass() |
@@ -256,7 +253,6 @@ |
STDMETHODIMP CPluginClass::SetSite(IUnknown* unknownSite) |
{ |
CPluginSettings* settings = CPluginSettings::GetInstance(); |
- CPluginSystem* system = CPluginSystem::GetInstance(); |
MULTIPLE_VERSIONS_CHECK(); |
@@ -1266,8 +1262,6 @@ |
{ |
CPluginClient* client = CPluginClient::GetInstance(); |
- CPluginSystem* system = CPluginSystem::GetInstance(); |
- |
// Create menu parent window |
HWND hMenuWnd = ::CreateWindowEx( |
NULL, |
@@ -1675,8 +1669,6 @@ |
return ::DefWindowProc(hWnd, message, wParam, lParam); |
} |
- CPluginSystem* system = CPluginSystem::GetInstance(); |
- |
// Process message |
switch (message) |
{ |