]> git.lyx.org Git - features.git/commitdiff
remove some debug noise
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 9 Oct 2003 13:27:51 +0000 (13:27 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 9 Oct 2003 13:27:51 +0000 (13:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7884 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxlex_pimpl.C

index 14d46b30b9ae7c6cc21c48fff4274e3edd7c57e2..241b6ab8cdc79d9f53d5021408ca982f817a1ad0 100644 (file)
@@ -1,3 +1,6 @@
+2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
 
 2003-10-09  André Pönitz  <poenitz@gmx.net>
 
@@ -28,7 +31,7 @@
        different item depths for itemize.
 
        * paragraph.C (Paragraph): remove initialization of enumdepth
-       (operator=): ditto 
+       (operator=): ditto
 
        * paragraph.h: get rid of enumdepth, and use itemdepth both for
        enumerate and itemize. Change the type of itemdepth to signed char.
index cb5befc76e448cb87cf3f11fcdd664429ba31d84..7b8c580e852af363f2ba437ede14c3c709361c7c 100644 (file)
@@ -133,7 +133,7 @@ bool LyXLex::Pimpl::setFile(string const & filename)
        string const format = getExtFromContents(filename);
 
        if (format == "gzip" || format == "zip" || format == "compress") {
-               lyxerr << "lyxlex: compressed" << endl;
+               lyxerr[Debug::LYXLEX] << "lyxlex: compressed" << endl;
 
                // The check only outputs a debug message, because it triggers
                // a bug in compaq cxx 6.2, where is_open() returns 'true' for
@@ -147,7 +147,7 @@ bool LyXLex::Pimpl::setFile(string const & filename)
                lineno = 0;
                return gz__.is_open() && is.good();
        } else {
-               lyxerr << "lyxlex: UNcompressed" << endl;
+               lyxerr[Debug::LYXLEX] << "lyxlex: UNcompressed" << endl;
 
                // The check only outputs a debug message, because it triggers
                // a bug in compaq cxx 6.2, where is_open() returns 'true' for