From 4b7131f74cd61043668d3a5805fe452d601181f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Feb 2019 18:26:49 +0300 Subject: CurrencyRates: - own archaic xml processor removed; - Import/Export now uses TinyXml; - massive code cleaning - version bump. --- plugins/CurrencyRates/src/CurrencyConverter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CurrencyRates/src/CurrencyConverter.cpp') diff --git a/plugins/CurrencyRates/src/CurrencyConverter.cpp b/plugins/CurrencyRates/src/CurrencyConverter.cpp index 91c2ae989e..ceb7dc1511 100644 --- a/plugins/CurrencyRates/src/CurrencyConverter.cpp +++ b/plugins/CurrencyRates/src/CurrencyConverter.cpp @@ -87,7 +87,7 @@ INT_PTR CALLBACK CurrencyConverterDlgProc(HWND hDlg, UINT msg, WPARAM wp, LPARAM case WM_INITDIALOG: TranslateDialogDefault(hDlg); { - MWindowList hWL = CModuleInfo::GetInstance().GetWindowList(WINDOW_PREFIX, false); + MWindowList hWL = CModuleInfo::GetWindowList(WINDOW_PREFIX, false); assert(hWL); WindowList_Add(hWL, hDlg); @@ -140,7 +140,7 @@ INT_PTR CALLBACK CurrencyConverterDlgProc(HWND hDlg, UINT msg, WPARAM wp, LPARAM case WM_CLOSE: { - MWindowList hWL = CModuleInfo::GetInstance().GetWindowList(WINDOW_PREFIX, false); + MWindowList hWL = CModuleInfo::GetWindowList(WINDOW_PREFIX, false); assert(hWL); WindowList_Remove(hWL, hDlg); Utils_SaveWindowPosition(hDlg, NULL, CURRENCYRATES_MODULE_NAME, WINDOW_PREFIX); @@ -254,7 +254,7 @@ INT_PTR CALLBACK CurrencyConverterDlgProc(HWND hDlg, UINT msg, WPARAM wp, LPARAM INT_PTR CurrencyRatesMenu_CurrencyConverter(WPARAM, LPARAM) { - MWindowList hWL = CModuleInfo::GetInstance().GetWindowList(WINDOW_PREFIX, true); + MWindowList hWL = CModuleInfo::GetWindowList(WINDOW_PREFIX, true); HWND hWnd = WindowList_Find(hWL, NULL); if (nullptr != hWnd) { SetForegroundWindow(hWnd); -- cgit v1.2.3