Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-09-25 19:20:39 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:43:52 +0300
commit49a7bfc73de52fa58ea972f7281ff8c970f623c8 (patch)
treeeaae93a6ea1886c768a74941d242b6c109f4fbed /map/address_finder.cpp
parent41359f557a6634c6dc041113d4bc21e96ced9204 (diff)
Avoid to use heavy function languages::CurrentLanguage().
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r--map/address_finder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp
index fdcf47025e..3d70098601 100644
--- a/map/address_finder.cpp
+++ b/map/address_finder.cpp
@@ -360,7 +360,7 @@ namespace
void FillAddress(search::Engine const * eng, Framework::AddressInfo & info)
{
- int8_t const lang = StringUtf8Multilang::GetLangIndex(languages::CurrentLanguage());
+ int8_t const lang = eng->GetCurrentLanguage();
SortResults();