From: Lars Gullik Bjønnes Date: Thu, 9 Oct 2003 13:27:51 +0000 (+0000) Subject: remove some debug noise X-Git-Tag: 1.6.10~15982 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bae961184e23d09ebe3032ae61240c664f72099f;p=features.git remove some debug noise git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7884 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 14d46b30b9..241b6ab8cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,6 @@ +2003-10-09 Lars Gullik Bjønnes + + * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX. 2003-10-09 André Pönitz @@ -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. diff --git a/src/lyxlex_pimpl.C b/src/lyxlex_pimpl.C index cb5befc76e..7b8c580e85 100644 --- a/src/lyxlex_pimpl.C +++ b/src/lyxlex_pimpl.C @@ -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