Code

Remove any baseProfile attribute, as we don't respect it. (See bug 166958.)
authorsasilver <sasilver@users.sourceforge.net>
Wed, 11 Jun 2008 10:54:18 +0000 (10:54 +0000)
committersasilver <sasilver@users.sourceforge.net>
Wed, 11 Jun 2008 10:54:18 +0000 (10:54 +0000)
src/document.cpp

index bf5ef089e625fb186c80860ce4e1fbf7a5020fea..333ce8d5a6b4b3b8d8a66f1e2608360c826a7157 100644 (file)
@@ -309,6 +309,9 @@ sp_document_create(Inkscape::XML::Document *rdoc,
     }
     /* End of quick hack 3 */
 
+    /* Eliminate any claim to adhere to a profile, as we don't try to */
+    rroot->setAttribute("baseProfile", NULL);
+
     // creating namedview
     if (!sp_item_group_get_child_by_name((SPGroup *) document->root, NULL, "sodipodi:namedview")) {
         // if there's none in the document already,