diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-10-21 11:06:31 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-10-21 11:06:31 +0000 |
| commit | d57824529dd42757b4f6e51348ac692c86ad6d7d (patch) | |
| tree | 0a05554e67171d96e2278d9ba38315bea0ad7e21 /src/sp-object.cpp | |
| parent | Fix build errors with clang 3.3 and c++11 enabled. (diff) | |
| download | inkscape-d57824529dd42757b4f6e51348ac692c86ad6d7d.tar.gz inkscape-d57824529dd42757b4f6e51348ac692c86ad6d7d.zip | |
Fix bug introduced in r12686.
Fixed bugs:
- https://launchpad.net/bugs/1241034
(bzr r12702)
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 8c54caf48..2408370cf 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -648,11 +648,6 @@ void SPObject::build(SPDocument *document, Inkscape::XML::Node *repr) { try { const std::string typeString = NodeTraits::get_type_string(*rchild); - // special cases - if (typeString.empty()) continue; // comments, usually - if (typeString == "rdf:RDF") continue; // no SP node yet - if (typeString == "inkscape:clipboard") continue; // SP node not necessary - SPObject* child = SPFactory::instance().createObject(typeString); object->attach(child, object->lastChild()); @@ -663,7 +658,7 @@ void SPObject::build(SPDocument *document, Inkscape::XML::Node *repr) { // corresponding classes in the SPObject tree. // (rdf:RDF, inkscape:clipboard, ...) // Thus, simply ignore this case for now. - return; + continue; } } } |
