X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeyMap.cpp;h=7c9c4718f68c9110ff6a20750e57b7f88afa1e41;hb=12dbcf2ee1792391a81d265ee8875ccf621033ca;hp=a9bcb596227c1540154b0cb744ad25dfdc44d4ea;hpb=50016ccf3a1c010756427be49d376099e085d71c;p=lyx.git diff --git a/src/KeyMap.cpp b/src/KeyMap.cpp index a9bcb59622..7c9c4718f6 100644 --- a/src/KeyMap.cpp +++ b/src/KeyMap.cpp @@ -26,15 +26,15 @@ #include +using std::endl; +using std::string; + namespace lyx { using support::FileName; using support::i18nLibFileSearch; -using std::endl; -using std::string; - string const KeyMap::printKeySym(KeySymbol const & key, key_modifier::state mod) @@ -253,7 +253,7 @@ void KeyMap::defkey(KeySequence * seq, FuncRequest const & func, unsigned int r) it->func.origin = FuncRequest::KEYBOARD; return; } else if (!it->table.get()) { - lyxerr << "Error: New binding for '" + lyxerr << "Error: New binding for '" << to_utf8(seq->print(false)) << "' is overriding old binding..." << endl;