From 66e9838c47b58810cb0bb6c67c32fb119eb50797 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 2 Feb 2015 15:11:34 +0100 Subject: Importing files works now --- src/plugins/xml/XmlParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/xml/XmlParser.cpp') 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 imported = - context().import(src, type, rel, leafRootNode->getImportTypes()); + context().import(src, type, rel, leafRootNode->getReferenceTypes()); if (imported != nullptr) { - leafRootNode->import(imported); + leafRootNode->reference(imported); } } -- cgit v1.2.3