diff options
| author | Stephen Silver <sasilver@yahoo.com> | 2008-07-09 09:28:49 +0000 |
|---|---|---|
| committer | sasilver <sasilver@users.sourceforge.net> | 2008-07-09 09:28:49 +0000 |
| commit | 487b7320deacd137b6a06efb0a5c8557b1fd0ff4 (patch) | |
| tree | 00a107a8603fa943245f67529d68ce63938d08b2 /src | |
| parent | Remove use of obsolete sodipodi:docbase from Python scripts (see bug 246721). (diff) | |
| download | inkscape-487b7320deacd137b6a06efb0a5c8557b1fd0ff4.tar.gz inkscape-487b7320deacd137b6a06efb0a5c8557b1fd0ff4.zip | |
Remove obsolete 'sodipodi:docbase' attribute when opening old Sodipodi/Inkscape files.
See bugs 168958 and 246721.
(bzr r6246)
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 af65d2d30..356fba577 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -306,6 +306,9 @@ sp_document_create(Inkscape::XML::Document *rdoc, } /* End of quick hack 3 */ + /* Eliminate obsolete sodipodi:docbase, for privacy reasons */ + rroot->setAttribute("sodipodi:docbase", NULL); + /* Eliminate any claim to adhere to a profile, as we don't try to */ rroot->setAttribute("baseProfile", NULL); |
