]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.C
insetquote fix; getStatus tweaks
[lyx.git] / src / lyxvc.C
index 11946528e2fea0c2f755dc626819871b375e638a..40dcf2547d6164aa2f95435f6f3e881dfb9d2ae6 100644 (file)
@@ -6,12 +6,12 @@
 
 #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"
@@ -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,