]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.cpp
Further cleanup of InsetFlex, InsetCollapsable and InsetLayout:
[lyx.git] / src / MenuBackend.cpp
index 2dd4efb7313bc6921760af649f07bbc01f5f0d3f..ac3cbfa33937f09778dcf08b3de347441eabb39c 100644 (file)
@@ -72,8 +72,7 @@ class MenuNamesEqual : public std::unary_function<Menu, bool> {
 public:
        MenuNamesEqual(docstring const & name)
                : name_(name) {}
-       bool operator()(Menu const & menu) const
-       {
+       bool operator()(Menu const & menu) const {
                return menu.name() == name_;
        }
 private:
@@ -138,7 +137,7 @@ docstring const MenuItem::binding(bool forgui) const
 
        // Get the keys bound to this action, but keep only the
        // first one later
-       KeyMap::Bindings bindings = theTopLevelKeymap().findbindings(func_);
+       KeyMap::Bindings bindings = theTopLevelKeymap().findBindings(func_);
 
        if (bindings.size()) {
                return bindings.begin()->print(KeySequence::ForGui);