Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginTabBase.cpp

Issue 10897028: Create a shared dictionary class for plugin and engine (Closed)
Patch Set: Created June 7, 2013, 12:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginTabBase.cpp
===================================================================
--- a/src/plugin/PluginTabBase.cpp
+++ b/src/plugin/PluginTabBase.cpp
@@ -1,13 +1,12 @@
#include "PluginStdAfx.h"
#include "PluginClient.h"
#include "PluginSettings.h"
-#include "PluginDictionary.h"
#ifdef SUPPORT_CONFIG
#include "PluginConfig.h"
#endif
#include "PluginTab.h"
#include "PluginDomTraverser.h"
#include "PluginClass.h"
#include "PluginTabBase.h"
@@ -342,20 +341,17 @@ DWORD WINAPI CPluginTabBase::ThreadProc(
CString debugText;
debugText += L"================================================================================";
debugText += L"\nTAB THREAD " + threadInfo;
debugText += L"\n================================================================================";
DEBUG_GENERAL(debugText)
- CPluginClient* client = CPluginClient::GetInstance();
-
- // Force loading/creation of dictionary
- CPluginDictionary::GetInstance();
+ CPluginClient* client = CPluginClient::GetInstance();
client->SetLocalization();
// Force loading/creation of config
#ifdef SUPPORT_CONFIG
CPluginConfig* config = CPluginConfig::GetInstance();

Powered by Google App Engine
This is Rietveld