summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-12 02:37:22 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-12 02:37:22 +0000
commit7f277485de3416b9202dc7f2747adc27082aac74 (patch)
treed3ed075630a12b45099e57117bbd8fad9326573c /src/document.cpp
parentdisable empty enforcement for now (diff)
downloadinkscape-7f277485de3416b9202dc7f2747adc27082aac74.tar.gz
inkscape-7f277485de3416b9202dc7f2747adc27082aac74.zip
sodipodi:docbase finally goes packing, along with a lauris comment
(bzr r2612)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 715bc2ec7..d77d61d09 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -261,10 +261,7 @@ sp_document_create(Inkscape::XML::Document *rdoc,
/* Quick hack 3 - Set uri attributes */
if (uri) {
- /* fixme: Think, what this means for images (Lauris) */
rroot->setAttribute("sodipodi:docname", uri);
- if (document->base)
- rroot->setAttribute("sodipodi:docbase", document->base);
}
/* End of quick hack 3 */
@@ -548,8 +545,6 @@ void sp_document_set_uri(SPDocument *document, gchar const *uri)
// changing uri in the document repr must not be not undoable
bool saved = sp_document_get_undo_sensitive(document);
sp_document_set_undo_sensitive(document, false);
- if (document->base)
- repr->setAttribute("sodipodi:docbase", document->base);
repr->setAttribute("sodipodi:docname", document->name);
sp_document_set_undo_sensitive(document, saved);