]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlRef.C
John's character.C patch (bug fix).
[lyx.git] / src / frontends / controllers / ControlRef.C
index 6b8b854596f94dbb819683e7b42cd451a3f40f23..c208a6dbdbbf7bdcaa00796ba57c056bc31315fc 100644 (file)
@@ -17,7 +17,8 @@
 #pragma implementation
 #endif
 
-#include "Dialogs.h"
+#include "ViewBase.h"
+#include "ButtonControllerBase.h"
 #include "ControlRef.h"
 #include "Dialogs.h"
 #include "LyXView.h"
@@ -42,13 +43,13 @@ std::vector<string> const ControlRef::getLabelList() const
 
 void ControlRef::gotoRef(string const & ref) const
 {
-       lv_.getLyXFunc()->Dispatch(LFUN_BOOKMARK_SAVE, "0");
-       lv_.getLyXFunc()->Dispatch(LFUN_REF_GOTO, ref);
+       lv_.getLyXFunc()->dispatch(LFUN_BOOKMARK_SAVE, "0");
+       lv_.getLyXFunc()->dispatch(LFUN_REF_GOTO, ref);
 }
 
 
 void ControlRef::gotoBookmark() const
 {
-       lv_.getLyXFunc()->Dispatch(LFUN_BOOKMARK_GOTO, "0");
+       lv_.getLyXFunc()->dispatch(LFUN_BOOKMARK_GOTO, "0");
 }