summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc13e01)
raw | patch | inline | side by side (parent: fc13e01)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 12 Mar 2007 02:37:22 +0000 (02:37 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 12 Mar 2007 02:37:22 +0000 (02:37 +0000) |
src/document.cpp | patch | blob | history |
diff --git a/src/document.cpp b/src/document.cpp
index 715bc2ec7ab1bc9382e3bfa30e6f4c0ac5c6a831..d77d61d0984862dd4c3ff070da6de6a0bf4bc309 100644 (file)
--- a/src/document.cpp
+++ b/src/document.cpp
/* 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 */
// 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);