Code

Fix change in revision 9947 to be consistent with rest of the codebase.
authorJon A. Cruz <jon@joncruz.org>
Sun, 12 Dec 2010 20:19:40 +0000 (12:19 -0800)
committerJon A. Cruz <jon@joncruz.org>
Sun, 12 Dec 2010 20:19:40 +0000 (12:19 -0800)
src/dialogs/spellcheck.cpp

index 22d440b5f9840ac289c6252eb8232b8a45273d5b..4712d99265b781222c7ae07201863f00991b9c6a 100644 (file)
@@ -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"));
         }
     }