aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
diff options
context:
space:
mode:
authorkoem <spam@petoria.de>2013-02-12 04:04:13 -0800
committerkoem <spam@petoria.de>2013-02-12 04:04:13 -0800
commit7b4a0b337a5f22bf0058c22967da94faea9ce318 (patch)
treea9991f02c99d417e2517f8831c6505e385ee8459 /main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
parent70251c24f5fafeeb150a2142249245e9515f560b (diff)
parent3c3b9bb7f748bd43126e39a83268d23056db6ca6 (diff)
downloadcgeo-7b4a0b337a5f22bf0058c22967da94faea9ce318.zip
cgeo-7b4a0b337a5f22bf0058c22967da94faea9ce318.tar.gz
cgeo-7b4a0b337a5f22bf0058c22967da94faea9ce318.tar.bz2
Merge pull request #2465 from koem/oc_icons
Icons for OC
Diffstat (limited to 'main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java')
-rw-r--r--main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java b/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
index 6d2de02..a9c041c 100644
--- a/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
+++ b/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
@@ -434,7 +434,7 @@ public class OC11XMLParser {
attributeNode.setEndTextElementListener(new EndTextElementListener() {
@Override
public void end(String body) {
- CacheAttribute attribute = AttributeMapper.getAttribute(attributeId);
+ CacheAttribute attribute = CacheAttribute.getByOcId(attributeId);
if (attribute != null) {
// semantic of attributes on opencaching is always "yes"
cacheHolder.cache.getAttributes().add(attribute.getAttributeName(true));