X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxdraw.C;h=77cf269def896afa9293a252ca7a8579138261b2;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=61518cc29b1295bbf14de61787f260cb1132cf38;hpb=0eccdd1c3613e5170deb77b22174dd0afde833e9;p=lyx.git diff --git a/src/lyxdraw.C b/src/lyxdraw.C index 61518cc29b..77cf269def 100644 --- a/src/lyxdraw.C +++ b/src/lyxdraw.C @@ -1,7 +1,7 @@ #include #include "lyxdraw.h" -#include "error.h" +#include "debug.h" extern int reverse_video; extern int mono_video; @@ -66,7 +66,7 @@ bool setForegroundColor(char const * const color, XGCValues & val) { val.foreground = xcol.pixel; } else { - lyxerr.print(string("LyX: Couldn't get color ") + color); + lyxerr << "LyX: Couldn't get color " << color << endl; return false; } } @@ -371,7 +371,8 @@ GC GetSelectionGC() if (!setForegroundColor(selection_color, val)) { fast_selection = True; if (clear_gc) clear_gc = 0; - lyxerr.print(" Will use FastSelection-method.\n"); + lyxerr << " Will use FastSelection-method." + << endl; } } selection_gc = XCreateGC(fl_display, fl_root,