remove some debug noise

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7884 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-10-09 13:27:51 +00:00
parent dcd8fb0428
commit bae961184e
2 changed files with 6 additions and 3 deletions

View 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.

View 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