diff options
Diffstat (limited to 'plugins/CurrencyRates/src/WinCtrlHelper.cpp')
-rw-r--r-- | plugins/CurrencyRates/src/WinCtrlHelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CurrencyRates/src/WinCtrlHelper.cpp b/plugins/CurrencyRates/src/WinCtrlHelper.cpp index 1b2daf3cb7..0d00422146 100644 --- a/plugins/CurrencyRates/src/WinCtrlHelper.cpp +++ b/plugins/CurrencyRates/src/WinCtrlHelper.cpp @@ -14,12 +14,12 @@ public: bool OnInitDialog() override { - CCurrencyRatesProviderVisitorFormatSpecificator visitor; - m_pProvider->Accept(visitor); + TFormatSpecificators aSpecificators; + m_pProvider->FillFormat(aSpecificators); tostringstream o; - for (auto &spec : visitor.GetSpecificators()) - o << spec.m_sSymbol << '\t' << spec.m_sDesc << L"\r\n"; + for (auto &spec : aSpecificators) + o << spec.first << '\t' << spec.second << L"\r\n"; ::SetDlgItemText(m_hwnd, IDC_EDIT_VARIABLE, o.str().c_str()); return true; } |