From: sasilver Date: Wed, 9 Jul 2008 09:28:49 +0000 (+0000) Subject: Remove obsolete 'sodipodi:docbase' attribute when opening old Sodipodi/Inkscape files. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=96c274534e3b260291098b7da1875695fe5b30a7;p=inkscape.git Remove obsolete 'sodipodi:docbase' attribute when opening old Sodipodi/Inkscape files. See bugs 168958 and 246721. --- 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);