diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-05-23 00:07:09 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:17:51 +0300 |
commit | 77b0787a6c71a4ff52b5af6a806ce9dd425b69b1 (patch) | |
tree | 639b744518526894ee855e2d6d8a975b67bc35f9 /indexer/drawing_rules.cpp | |
parent | 85e336796da426c3d82fcf474eec6ee0d6cfc11e (diff) |
Renamed namespace string_utils to strings
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r-- | indexer/drawing_rules.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp index bb129742e1..83e241fc39 100644 --- a/indexer/drawing_rules.cpp +++ b/indexer/drawing_rules.cpp @@ -42,13 +42,13 @@ namespace drule { template <> double get_value<double>(string const & s) { double d; - VERIFY ( string_utils::to_double(s, d), ("Bad double in drawing rule : ", s) ); + VERIFY ( strings::to_double(s, d), ("Bad double in drawing rule : ", s) ); return d; } template <> string get_value<string>(string const & s) { string ss(s); - string_utils::make_lower_case(ss); + strings::make_lower_case(ss); return ss; } //@} @@ -213,7 +213,7 @@ namespace drule { template <> dash_array_t get_value<dash_array_t>(string const & s) { dash_array_t ret; - string_utils::TokenizeString(s, " \tpx,", bind(&dash_array_t::add, ref(ret), _1)); + strings::TokenizeString(s, " \tpx,", bind(&dash_array_t::add, ref(ret), _1)); /// @see http://www.w3.org/TR/SVG/painting.html stroke-dasharray size_t const count = ret.m_v.size(); @@ -866,10 +866,10 @@ Key RulesHolder::CreateRuleImpl1(string const & name, #endif attrs_map_t a; - string_utils::TokenizeString(clValue, " \t", bind(&RulesHolder::PushAttributes, this, _1, ref(a))); + strings::TokenizeString(clValue, " \t", bind(&RulesHolder::PushAttributes, this, _1, ref(a))); for (attrs_map_t::const_iterator i = attrs.begin(); i != attrs.end(); ++i) - if (!string_utils::IsInArray(arrClassTags, i->first)) + if (!strings::IsInArray(arrClassTags, i->first)) a[i->first] = i->second; // background color (imitation of masks in tunnel patterns) |