]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / lyxvc.C
index eae96b08e9827cbe72f2642190ae910b44ca0d9b..a5b9afd0d93704a1d005f190d59b51005cc8955f 100644 (file)
@@ -6,17 +6,17 @@
 
 #include <unistd.h>
 
-#include FORMS_H_LOCATION
 #include "lyxvc.h"
 #include "vc-backend.h"
 #include "debug.h"
 #include "lyx_gui_misc.h"
 #include "buffer.h"
+#include "BufferView.h"
 #include "gettext.h"
 #include "support/filetools.h"
 #include "support/lyxlib.h"
-#include "lyxfunc.h"
 #include "LyXView.h"
+#include "lyxfunc.h"
 
 using std::endl;
 using std::pair;
@@ -87,7 +87,7 @@ void LyXVC::registrer()
                        MakeDisplayPath(vcs->owner()->fileName(), 50),
                        _("Save document and proceed?"))) {
                vcs->owner()->getUser()->owner()
-                       ->getLyXFunc()->Dispatch(LFUN_MENUWRITE);
+                       ->getLyXFunc()->dispatch(LFUN_MENUWRITE);
        }
 
        // Maybe the save fails, or we answered "no". In both cases,
@@ -120,7 +120,7 @@ void LyXVC::checkIn()
                        MakeDisplayPath(vcs->owner()->fileName(), 50),
                        _("Save document and proceed?"))) {
                vcs->owner()->getUser()->owner()
-                       ->getLyXFunc()->Dispatch(LFUN_MENUWRITE);
+                       ->getLyXFunc()->dispatch(LFUN_MENUWRITE);
        }
 
        // Maybe the save fails, or we answered "no". In both cases,
@@ -200,9 +200,14 @@ bool LyXVC::inUse()
 }
 
 
-string const & LyXVC::version() const
+//string const & LyXVC::version() const
+//{
+//     return vcs->version();
+//}
+
+string const LyXVC::versionString() const
 {
-       return vcs->version();
+       return vcs->versionString();
 }