summaryrefslogtreecommitdiff
path: root/src/plugins/xml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-02 15:11:34 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-02 15:11:34 +0100
commit66e9838c47b58810cb0bb6c67c32fb119eb50797 (patch)
treecb2fff77f6e45e41708e33c8c10c9cb7f206364e /src/plugins/xml
parent19d1eeba6ad3637e0e108fe177874b5509a7988b (diff)
Importing files works now
Diffstat (limited to 'src/plugins/xml')
-rw-r--r--src/plugins/xml/XmlParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp
index d36c5fe..45320ca 100644
--- a/src/plugins/xml/XmlParser.cpp
+++ b/src/plugins/xml/XmlParser.cpp
@@ -327,9 +327,9 @@ public:
// Perform the actual import, register the imported node within the leaf
// node
Rooted<Node> imported =
- context().import(src, type, rel, leafRootNode->getImportTypes());
+ context().import(src, type, rel, leafRootNode->getReferenceTypes());
if (imported != nullptr) {
- leafRootNode->import(imported);
+ leafRootNode->reference(imported);
}
}