summaryrefslogtreecommitdiff
path: root/protocols/Quotes/ModuleInfo.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-09-24 20:33:28 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-09-24 20:33:28 +0000
commit5ef7edee2a5d7eae4bb110e497d2e63b633348c8 (patch)
tree33ade0a35721a3f056d313e6cb3d5347b9b117aa /protocols/Quotes/ModuleInfo.cpp
parentaf1c7bfc0cd0f76570e364dbb57cf447052c1ed5 (diff)
Quotes:
fixed crash on start git-svn-id: http://svn.miranda-ng.org/main/trunk@1643 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Quotes/ModuleInfo.cpp')
-rw-r--r--protocols/Quotes/ModuleInfo.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/Quotes/ModuleInfo.cpp b/protocols/Quotes/ModuleInfo.cpp
index 69a835409e..4caec96368 100644
--- a/protocols/Quotes/ModuleInfo.cpp
+++ b/protocols/Quotes/ModuleInfo.cpp
@@ -9,7 +9,6 @@
namespace
{
- HINSTANCE g_hInstance = NULL;
CModuleInfo::TXMLEnginePtr g_pXMLEngine;
CModuleInfo::THTMLEnginePtr g_pHTMLEngine;
CLightMutex g_lmParsers;
@@ -58,20 +57,6 @@ void CModuleInfo::OnMirandaShutdown()
}
}
-void CModuleInfo::SetModuleHandle(HINSTANCE hInstance)
-{
- assert(NULL == g_hInstance);
- assert(NULL != hInstance);
-
- g_hInstance = hInstance;
-}
-
-HINSTANCE CModuleInfo::GetModuleHandle()
-{
- assert(NULL != g_hInstance);
- return g_hInstance;
-}
-
CModuleInfo::TQuotesProvidersPtr CModuleInfo::GetQuoteProvidersPtr()
{
static TQuotesProvidersPtr pProviders(new CQuotesProviders);