diff options
| author | MenTaLguY <mental@rydia.net> | 2008-01-15 04:27:00 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-01-15 04:27:00 +0000 |
| commit | 2fff772bdd81459304cae888312766fe99dfb360 (patch) | |
| tree | 291896e86aa9a58e4e4080a4d4bb2a2dd1368153 /src/dialogs/export.cpp | |
| parent | whitespace cleanup (diff) | |
| download | inkscape-2fff772bdd81459304cae888312766fe99dfb360.tar.gz inkscape-2fff772bdd81459304cae888312766fe99dfb360.zip | |
abstract use of sodipodi:modified
(bzr r4490)
Diffstat (limited to 'src/dialogs/export.cpp')
| -rw-r--r-- | src/dialogs/export.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index d26a5cde1..d664ef729 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -1237,7 +1237,7 @@ sp_export_export_clicked (GtkButton */*button*/, GtkObject *base) } if (modified) - repr->setAttribute("sodipodi:modified", "TRUE"); + doc->setModified(); sp_document_set_undo_sensitive(doc, saved); break; } @@ -1277,8 +1277,7 @@ sp_export_export_clicked (GtkButton */*button*/, GtkObject *base) } if (modified) { - Inkscape::XML::Node * repr = sp_document_repr_root(doc); - repr->setAttribute("sodipodi:modified", "TRUE"); + doc->setModified(); } sp_document_set_undo_sensitive(doc, saved); |
