summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderVisitorTendency.cpp')
-rw-r--r--plugins/Quotes/src/QuotesProviderVisitorTendency.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp b/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp
index 1a62a289f1..a4899909e1 100644
--- a/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp
+++ b/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp
@@ -7,8 +7,7 @@ CQuotesProviderVisitorTendency::CQuotesProviderVisitorTendency(MCONTACT hContact
void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderBase&)
{
- switch (m_chr)
- {
+ switch (m_chr) {
case _T('r'):
case _T('R'):
GetValue(DB_STR_QUOTE_CURR_VALUE);
@@ -21,8 +20,7 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderBase&)
void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderGoogleFinance&)
{
- switch (m_chr)
- {
+ switch (m_chr) {
case _T('o'):
GetValue(DB_STR_GOOGLE_FINANCE_OPEN_VALUE);
break;
@@ -37,8 +35,7 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderGoogleFinance&)
void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderYahoo&)
{
- switch (m_chr)
- {
+ switch (m_chr) {
case _T('o'):
GetValue(DB_STR_YAHOO_OPEN_VALUE);
break;
@@ -55,10 +52,8 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderYahoo&)
GetValue(DB_STR_YAHOO_DAY_LOW);
break;
}
-
}
-
void CQuotesProviderVisitorTendency::GetValue(LPCSTR pszDbKeyName)
{
m_bValid = Quotes_DBReadDouble(m_hContact, QUOTES_MODULE_NAME, pszDbKeyName, m_dResult);