]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / LaTeXFeatures.C
index 71bc6d49da6c49ce151449e08b26ea91b2d48184..21cf9e4d111ae3df5b711f8f123593f27f415582 100644 (file)
@@ -16,7 +16,7 @@
 #endif
 
 #include "LString.h"
-#include "error.h"
+#include "debug.h"
 #include "lyx_sty.h"
 #include "lyxrc.h"
 #include "LaTeXFeatures.h"
@@ -244,13 +244,10 @@ string LaTeXFeatures::getTClassPreamble(BufferParams const &params)
 
 
 void LaTeXFeatures::showStruct(BufferParams &params) {
-       lyxerr.print("LyX needs the following commands when LaTeXing:");
+       lyxerr << "LyX needs the following commands when LaTeXing:"
        // packs
-       lyxerr.print("***** Packages:");
-       lyxerr.print(getPackages(params));
-       lyxerr.print("***** Macros:");
-       lyxerr.print(getMacros(params));
-       lyxerr.print("***** Textclass stuff:");
-       lyxerr.print(getTClassPreamble(params));
-       lyxerr.print("***** done.");
+              << "\n***** Packages:" << getPackages(params)
+              << "\n***** Macros:" << getMacros(params)
+              << "\n***** Textclass stuff:" << getTClassPreamble(params)
+              << "\n***** done." << endl;
 }