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:
authorIlya Zverev <zverik@textual.ru>2017-01-09 15:52:49 +0300
committerIlya Zverev <zverik@textual.ru>2017-01-09 19:50:23 +0300
commitcd9957126e9605b0232ccb30e11e5b555d62bcfa (patch)
tree160d4b2c00f8e8ffcda9f1ba102434eef9f5cccc /indexer/feature.cpp
parente84ceab2285811143a557ae19f9836b2d9f06c37 (diff)
[editor] Fix banner_url and opentable editing
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r--indexer/feature.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp
index f36263f55f..84ecab623f 100644
--- a/indexer/feature.cpp
+++ b/indexer/feature.cpp
@@ -172,6 +172,8 @@ editor::XMLFeature FeatureType::ToXML(bool serializeType) const
for (auto const type : m_metadata.GetPresentTypes())
{
+ if (m_metadata.IsSponsoredType(static_cast<Metadata::EType>(type)))
+ continue;
auto const attributeName = DebugPrint(static_cast<Metadata::EType>(type));
feature.SetTagValue(attributeName, m_metadata.Get(type));
}