summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderBase.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:48:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:48:46 +0000
commit563378c993b1c08a1bbe23e8f6c372c675c38e7a (patch)
tree798ec8ba61d351cd2ebe0e39737848d3b2495f46 /plugins/Quotes/src/QuotesProviderBase.cpp
parent914f4263b866f546311b4f8e3a95ff816770783f (diff)
- naming conflict;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14986 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderBase.cpp')
-rw-r--r--plugins/Quotes/src/QuotesProviderBase.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/plugins/Quotes/src/QuotesProviderBase.cpp b/plugins/Quotes/src/QuotesProviderBase.cpp
index a0d1ff989b..f66d976722 100644
--- a/plugins/Quotes/src/QuotesProviderBase.cpp
+++ b/plugins/Quotes/src/QuotesProviderBase.cpp
@@ -69,27 +69,21 @@ namespace
tstring sName = pNode->GetName();
if (0 == quotes_stricmp(_T("section"), sName.c_str()))
{
- CQuotesProviderBase::CQuoteSection qs;
- if (true == parse_section(pNode, qs))
- {
- aSections.push_back(qs);
- }
+ CQuotesProviderBase::CQuoteSection qs1;
+ if (true == parse_section(pNode, qs1))
+ aSections.push_back(qs1);
}
else if (0 == quotes_stricmp(_T("quote"), sName.c_str()))
{
CQuotesProviderBase::CQuote q;
if (true == parse_quote(pNode, q))
- {
aQuotes.push_back(q);
- }
}
else if (0 == quotes_stricmp(_T("name"), sName.c_str()))
{
sSectionName = pNode->GetText();
if (true == sSectionName.empty())
- {
return false;
- }
}
}