diff options
Diffstat (limited to 'src/factory.h')
| -rw-r--r-- | src/factory.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/factory.h b/src/factory.h index c1288b460..6b448064e 100644 --- a/src/factory.h +++ b/src/factory.h @@ -81,34 +81,6 @@ private: }; -struct NodeTraits { - static std::string get_type_string(Inkscape::XML::Node const &node) { - std::string name; - - switch (node.type()) { - case Inkscape::XML::TEXT_NODE: - name = "string"; - break; - - case Inkscape::XML::ELEMENT_NODE: { - char const *const sptype = node.attribute("sodipodi:type"); - - if (sptype) { - name = sptype; - } else { - name = node.name(); - } - break; - } - default: - name = ""; - break; - } - - return name; - } -}; - #endif /* |
