diff options
| author | Stephen Silver <sasilver@yahoo.com> | 2008-06-11 10:54:18 +0000 |
|---|---|---|
| committer | sasilver <sasilver@users.sourceforge.net> | 2008-06-11 10:54:18 +0000 |
| commit | 3282aa2886d6cd9bd4cd2e3ceaad719fa3da6328 (patch) | |
| tree | e98e963b77b2acd0a6f58ad91c4dc9f1b2f39f28 /src | |
| parent | Back out the `document != NULL' assertions added to SimpleNode constructors i... (diff) | |
| download | inkscape-3282aa2886d6cd9bd4cd2e3ceaad719fa3da6328.tar.gz inkscape-3282aa2886d6cd9bd4cd2e3ceaad719fa3da6328.zip | |
Remove any baseProfile attribute, as we don't respect it. (See bug 166958.)
(bzr r5879)
Diffstat (limited to 'src')
| -rw-r--r-- | src/document.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp index bf5ef089e..333ce8d5a 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -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, |
