]> git.lyx.org Git - lyx.git/blobdiff - src/KeySequence.cpp
Revert cs 28908: wrong fix.
[lyx.git] / src / KeySequence.cpp
index 5a7623b7f626fc86afb4c8f601596091525573f9..734371e0b742a1b5e13857817c5465566c85eb28 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author John Levon
  *
@@ -40,8 +40,7 @@ FuncRequest const & KeySequence::addkey(KeySymbol const & key,
        if (curmap)
                return curmap->lookup(key, mod, this);
 
-       static FuncRequest unknown(LFUN_UNKNOWN_ACTION);
-       return unknown;
+       return FuncRequest::unknown;
 }