diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-09-19 23:36:51 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-09-19 23:36:51 +0000 |
| commit | 9c8cc7b63656f41a087c5d30d500028f8990a192 (patch) | |
| tree | 2685642ec93dc855743dcff21307b1ba5c53b65d /src/sp-object.cpp | |
| parent | Update to trunk (diff) | |
| parent | Fix make check after merge of cppify branch (diff) | |
| download | inkscape-9c8cc7b63656f41a087c5d30d500028f8990a192.tar.gz inkscape-9c8cc7b63656f41a087c5d30d500028f8990a192.zip | |
update to trunk
(bzr r11950.1.142)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 895b36e1c..1ab3cade8 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -588,9 +588,12 @@ void SPObject::child_added(Inkscape::XML::Node *child, Inkscape::XML::Node *ref) ochild->invoke_build(object->document, child, object->cloned); } catch (const FactoryExceptions::TypeNotRegistered& e) { - if (std::string(e.what()) != "rdf:RDF") { // temporary special case - g_warning("TypeNotRegistered exception: %s", e.what()); - } + std::string node = e.what(); + // special cases + if (node == "rdf:RDF") return; // no SP node yet + if (node == "inkscape:clipboard") return; // SP node not necessary + + g_warning("TypeNotRegistered exception: %s", e.what()); } } |
