]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / MenuBackend.h
index c68018bbb0e1e1db8e14af631e2e4cc52153361f..b980e305f3c90a04024c7b70c585d10da8778a5d 100644 (file)
@@ -19,7 +19,6 @@
 #endif
 
 #include "LString.h"
-#include "support/lstrings.h"
 #include <vector>
 
 class LyXLex;
@@ -76,9 +75,9 @@ public:
                  action_(action), submenu_(), optional_(optional) {}
  
        /// The label of a given menuitem
-       string const label() const { return token(label_, '|', 0); }
+       string const label() const;
        /// The keyboard shortcut (usually underlined in the entry)
-       string const shortcut() const { return token(label_, '|', 1); }
+       string const shortcut() const;
        /// The complete label, with label and shortcut separated by a '|'
        string const fulllabel() const { return label_;}
        /// The kind of entry