diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/factory.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/factory.h b/src/factory.h index d7f4cb2b9..7e466f95a 100644 --- a/src/factory.h +++ b/src/factory.h @@ -64,7 +64,12 @@ public: if (it == this->_object_map.end()) { //throw FactoryExceptions::TypeNotRegistered(id); - g_warning("unknown type: %s", id.c_str()); + if (!(id.empty() // comments, usually + or id == "rdf:RDF" // no SP node yet + or id == "inkscape:clipboard" // SP node not necessary + or id == "inkscape:_templateinfo")) { + g_warning("unknown type: %s", id.c_str()); + } return NULL; } |
