From 96c274534e3b260291098b7da1875695fe5b30a7 Mon Sep 17 00:00:00 2001 From: sasilver Date: Wed, 9 Jul 2008 09:28:49 +0000 Subject: [PATCH] Remove obsolete 'sodipodi:docbase' attribute when opening old Sodipodi/Inkscape files. See bugs 168958 and 246721. --- src/document.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2