summaryrefslogtreecommitdiff
path: root/src/plugins/xml/XmlParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/xml/XmlParser.cpp')
-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);
}
}