X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontInfo.cpp;h=2623f2ea232f1eb9a0fda85a84b93a1ae2ac1a61;hb=6b651f2ad9f698c01993dcc6e340682c279f1c55;hp=b6918efebfaae8e5e68aaed2f56caa0aea0b9b07;hpb=150cf11651ad92090a452bb9e6cb72d7eea886d5;p=lyx.git diff --git a/src/FontInfo.cpp b/src/FontInfo.cpp index b6918efebf..2623f2ea23 100644 --- a/src/FontInfo.cpp +++ b/src/FontInfo.cpp @@ -16,12 +16,11 @@ #include "FontInfo.h" -#include "debug.h" +#include "support/debug.h" #include -using std::endl; - +using namespace std; namespace lyx { @@ -202,8 +201,8 @@ static FontState setMisc(FontState newfont, else if (org == FONT_OFF) return FONT_ON; else { - lyxerr <<"Font::setMisc: Need state" - " FONT_ON or FONT_OFF to toggle. Setting to FONT_ON" << endl; + LYXERR0("Font::setMisc: Need state" + " FONT_ON or FONT_OFF to toggle. Setting to FONT_ON"); return FONT_ON; } } else if (newfont == FONT_IGNORE)