Code

Fix build failure
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 12 Dec 2010 13:32:01 +0000 (14:32 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 12 Dec 2010 13:32:01 +0000 (14:32 +0100)
src/dialogs/spellcheck.cpp

index 12105c8c045f14c1250dce472d6c19fec908a804..22d440b5f9840ac289c6252eb8232b8a45273d5b 100644 (file)
@@ -39,6 +39,7 @@
 #include <xml/repr.h>
 #include "display/canvas-bpath.h"
 #include "display/curve.h"
+#include "document-undo.h"
 
 #ifdef HAVE_ASPELL
 #include <aspell.h>
@@ -780,7 +781,7 @@ sp_spellcheck_accept (GObject *, GObject *dlg)
             // find the end of the word anew
             _end_w = _begin_w;
             _end_w.nextEndOfWord();
-            SPDocumentUndo::done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_TEXT,
+            Inkscape::DocumentUndo::done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_TEXT,
                                  _("Fix spelling"));
         }
     }