From a15cd68f0412e1b211e746a2e4d5682e96f5a113 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 13:52:01 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Exchange/src/emails.h | 2 +- plugins/Exchange/src/exchange.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/Exchange') diff --git a/plugins/Exchange/src/emails.h b/plugins/Exchange/src/emails.h index f33e7a510e..6dedbd24ce 100644 --- a/plugins/Exchange/src/emails.h +++ b/plugins/Exchange/src/emails.h @@ -83,7 +83,7 @@ class CExchangeServer{ int Check(int bNoEmailsNotify = FALSE); }; -extern CExchangeServer &exchangeServer; +extern CExchangeServer exchangeServer; int ShowMessage(TCHAR *message, int cUnreadEmails); int ShowPopupMessage(TCHAR *title, TCHAR *message, int cUnreadEmails); diff --git a/plugins/Exchange/src/exchange.cpp b/plugins/Exchange/src/exchange.cpp index 97ef9250bb..d2597ae298 100644 --- a/plugins/Exchange/src/exchange.cpp +++ b/plugins/Exchange/src/exchange.cpp @@ -26,9 +26,7 @@ HICON hiMailIcon = NULL; HWND hEmailsDlg = NULL; int hLangpack=0; -CExchangeServer &exchangeServer = CExchangeServer(); - -//PLUGINLINK *pluginLink; +CExchangeServer exchangeServer; PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), -- cgit v1.2.3