]> git.lyx.org Git - lyx.git/blobdiff - src/FontInfo.cpp
* Doxy: polish html output.
[lyx.git] / src / FontInfo.cpp
index b6918efebfaae8e5e68aaed2f56caa0aea0b9b07..2623f2ea232f1eb9a0fda85a84b93a1ae2ac1a61 100644 (file)
 
 #include "FontInfo.h"
 
-#include "debug.h"
+#include "support/debug.h"
 
 #include <ostream>
 
-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)