summaryrefslogtreecommitdiffstats
path: root/src/dialogs/spellcheck.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-12-12 20:19:40 +0000
committerJon A. Cruz <jon@joncruz.org>2010-12-12 20:19:40 +0000
commit68452709b79983328f9f576237339a410f677097 (patch)
tree18780c15e1338d9049974c76e9c285abc7ddd29f /src/dialogs/spellcheck.cpp
parentFixed const/non-const mismatch loop. (diff)
downloadinkscape-68452709b79983328f9f576237339a410f677097.tar.gz
inkscape-68452709b79983328f9f576237339a410f677097.zip
Fix change in revision 9947 to be consistent with rest of the codebase.
(bzr r9950)
Diffstat (limited to 'src/dialogs/spellcheck.cpp')
-rw-r--r--src/dialogs/spellcheck.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dialogs/spellcheck.cpp b/src/dialogs/spellcheck.cpp
index 22d440b5f..4712d9926 100644
--- a/src/dialogs/spellcheck.cpp
+++ b/src/dialogs/spellcheck.cpp
@@ -48,6 +48,8 @@
#include <windows.h>
#endif
+using Inkscape::DocumentUndo;
+
#define MIN_ONSCREEN_DISTANCE 50
static GtkWidget *dlg = NULL;
@@ -781,8 +783,8 @@ sp_spellcheck_accept (GObject *, GObject *dlg)
// find the end of the word anew
_end_w = _begin_w;
_end_w.nextEndOfWord();
- Inkscape::DocumentUndo::done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_TEXT,
- _("Fix spelling"));
+ DocumentUndo::done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_TEXT,
+ _("Fix spelling"));
}
}