]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.C
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
[lyx.git] / src / kbmap.C
index fd6b8985074f036e511663e241521db818f94a9a..a9d1460c85f2ed0207586e3b1ba6187b3e4aa8be 100644 (file)
@@ -57,11 +57,9 @@ string const kb_keymap::printKeySym(LyXKeySym const & key,
 
 string::size_type kb_keymap::bind(string const & seq, FuncRequest const & func)
 {
-       if (lyxerr.debugging(Debug::KBMAP)) {
-               lyxerr << "BIND: Sequence `"
-                      << seq << "' Action `"
-                      << func.action << '\'' << endl;
-       }
+       LYXERR(Debug::KBMAP) << "BIND: Sequence `"
+              << seq << "' Action `"
+              << func.action << '\'' << endl;
 
        kb_sequence k(0, 0);