From 0325c1948887a41506fe8cc87f9e2947aa7fe72c Mon Sep 17 00:00:00 2001 From: Crzyrndm Date: Mon, 25 Jun 2018 23:17:21 +1200 Subject: [PATCH] Cleanup --- source/packaging/ext_list.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/packaging/ext_list.cpp b/source/packaging/ext_list.cpp index bc1b7e4e..5a109691 100644 --- a/source/packaging/ext_list.cpp +++ b/source/packaging/ext_list.cpp @@ -18,15 +18,11 @@ namespace { { ++nest_level; auto attribs = p.attribute_map(); + s.start_element(p.qname()); if (nest_level == 1) { - s.start_element(p.qname()); ext_uri = xlnt::uri(attribs.at(xml::qname("uri")).value); } - else - { - s.start_element(p.qname()); - } auto current_ns = p.namespace_(); p.peek(); // to look into the new namespace auto new_ns = p.namespace_(); // only before attributes?