| 1028 | } |
| 1029 | |
| 1030 | string Ranker::GetLocalizedRegionInfoForResult(RankerResult const & result) const |
| 1031 | { |
| 1032 | auto const type = result.GetBestType(&m_params.m_preferredTypes); |
| 1033 | |
| 1034 | storage::CountryId id; |
| 1035 | if (!result.GetCountryId(m_infoGetter, type, id)) |
| 1036 | return {}; |
| 1037 | |
| 1038 | return m_regionInfoGetter.GetLocalizedFullName(id); |
| 1039 | } |
| 1040 | |
| 1041 | } // namespace search |
nothing calls this directly
no test coverage detected