X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXView.C;h=39ed8dc8d0866dff74c2064b59e011f82134cfad;hb=535dd32c4ca49739583b37293e28db48ac1ecec3;hp=44121b1f255f5e6b3efd129f9ede9bfa361ed0cb;hpb=0eccdd1c3613e5170deb77b22174dd0afde833e9;p=lyx.git diff --git a/src/LyXView.C b/src/LyXView.C index 44121b1f25..39ed8dc8d0 100644 --- a/src/LyXView.C +++ b/src/LyXView.C @@ -22,7 +22,7 @@ #include "minibuffer.h" #include "lyxfunc.h" #include "lyx.xpm" -#include "error.h" +#include "debug.h" #include "layout_forms.h" #include "intl.h" #include "lyxrc.h" @@ -51,7 +51,7 @@ LyXView::LyXView(int width, int height) { fd_form_main = create_form_form_main(width,height); fl_set_form_atclose(_form, atCloseMainFormCB, 0); - lyxerr.debug("Initializing LyXFunc"); + lyxerr.debug() << "Initializing LyXFunc" << endl; lyxfunc = new LyXFunc(this); intl = new Intl; } @@ -69,7 +69,7 @@ LyXView::~LyXView() /// Redraw the main form. void LyXView::redraw() { - lyxerr.debug("LyXView::redraw()"); + lyxerr.debug() << "LyXView::redraw()" << endl; fl_redraw_form(_form); minibuffer->Activate(); } @@ -95,7 +95,7 @@ void LyXView::UpdateTimerCB(FL_OBJECT *ob, long) // Callback for autosave timer void LyXView::AutosaveTimerCB(FL_OBJECT *, long) { - lyxerr.debug("Running AutoSave()"); + lyxerr.debug() << "Running AutoSave()" << endl; AutoSave(); }