dont use cerr directly use lyxerr

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1781 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-03-16 08:29:10 +00:00
parent 1a32c26a5e
commit 837da12d78
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* math_cursor.C: use lyxerr instead of cerr.
2001-03-15 André Pönitz <poenitz@htwm.de> 2001-03-15 André Pönitz <poenitz@htwm.de>

View File

@ -45,7 +45,6 @@
static MathedArray selarray; static MathedArray selarray;
using std::cerr;
using std::endl; using std::endl;
// This was very smaller, I'll change it later // This was very smaller, I'll change it later
@ -85,7 +84,7 @@ struct MathStackXIter {
MathedXIter * Item(int idx) { MathedXIter * Item(int idx) {
if (idx + 1 > i) if (idx + 1 > i)
cerr << "Wrong index: " << idx << " i: " << i << endl; lyxerr << "Wrong index: " << idx << " i: " << i << endl;
return &item[i - idx - 1]; return &item[i - idx - 1];
} }