summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-02 12:35:42 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-02 12:35:42 +0000
commitd25a9a072143eafa4a9823b84e977c4b85d45efe (patch)
treeef59162da575782282a2e127931707a63d7cbbb0 /src/extension/execution-env.cpp
parentC++fied SPDocument added (diff)
downloadinkscape-d25a9a072143eafa4a9823b84e977c4b85d45efe.tar.gz
inkscape-d25a9a072143eafa4a9823b84e977c4b85d45efe.zip
New Class SPDocumentUndo created which takes care of c++fying some non SPDocument based methods
(bzr r9546.1.3)
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index 7ed389195..d97c8c6de 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -162,14 +162,14 @@ ExecutionEnv::cancel (void) {
void
ExecutionEnv::undo (void) {
- sp_document_cancel(_doc->doc());
+ SPDocumentUndo::cancel(_doc->doc());
reselect();
return;
}
void
ExecutionEnv::commit (void) {
- sp_document_done(_doc->doc(), SP_VERB_NONE, _(_effect->get_name()));
+ SPDocumentUndo::done(_doc->doc(), SP_VERB_NONE, _(_effect->get_name()));
Effect::set_last_effect(_effect);
_effect->get_imp()->commitDocument();
killDocCache();