#include "qt_helpers.h"
-#include "support/assert.h"
+#include "support/lassert.h"
#include "support/debug.h"
#include "Encoding.h"
return 0;
}
- LYXERR(Debug::KEY, "Using codec " << fromqstr(codec->name()));
+ LYXERR(Debug::KEY, "Using codec " << codec->name());
if (!codec->canEncode(str)) {
LYXERR(Debug::KEY, "Oof. Can't encode the text !");
return;
}
LYXERR(Debug::KEY, "Getting key " << ev->key() << ", with text '"
- << fromqstr(ev->text()) << "'");
+ << ev->text() << "'");
// This is unsafe because ev->text() is the unicode representation of the
// key, not the name of the key. For example, Ctrl-x and Alt-x produce
// different texts.