]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
fix some C++ parsing bugs
[lyx.git] / src / MenuBackend.C
index c0903bfda7e342cc9da5c9bbf986b4ae44427000..86c79e24850b5f90c54b89eb613fccd35a5ede03 100644 (file)
@@ -23,7 +23,7 @@
 #include "lyx_main.h" // for lastfiles
 #include "bufferlist.h"
 #include "buffer.h"
-#include "converter.h"
+#include "format.h"
 #include "exporter.h"
 #include "importer.h"
 #include "FloatList.h"
@@ -113,7 +113,7 @@ string const MenuItem::binding() const
 {
        if (kind_ != Command)
                return string();
-       
+
        // Get the keys bound to this action, but keep only the
        // first one later
        string bindings = toplevel_keymap->findbinding(action_);
@@ -131,7 +131,7 @@ Menu & Menu::add(MenuItem const & i, LyXView const * view)
                items_.push_back(i);
                return *this;
        }
-               
+
        switch (i.kind()) {
        case MenuItem::Command:
        {
@@ -173,7 +173,7 @@ Menu & Menu::add(MenuItem const & i, LyXView const * view)
                break;
        default:
                items_.push_back(i);
-       }       
+       }
 
        return *this;
 }