From cf466ab567bbdc62f16b1db16582f84ad0ea2e3a Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 5 Jun 2008 14:40:41 +0000 Subject: [PATCH] Mac compil fixes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25143 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiToolbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 8cec104352..2ed5c85aef 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -651,7 +651,7 @@ void GuiLayoutBox::selected(int index) resetFilter(); return; } - lyxerr << "ERROR (layoutSelected): layout not found!" << endl; + LYXERR0("ERROR (layoutSelected): layout not found!"); } @@ -748,7 +748,7 @@ public: ToolbarInfo const * tbinfo = guiApp->toolbars().info(tbitem_.name_); if (!tbinfo) { - lyxerr << "Unknown toolbar " << tbitem_.name_ << endl; + LYXERR0("Unknown toolbar " << tbitem_.name_); return; } IconPalette * panel = new IconPalette(this); @@ -802,7 +802,7 @@ public: connect(bar_, SIGNAL(updated()), m, SLOT(updateParent())); ToolbarInfo const * tbinfo = guiApp->toolbars().info(tbitem_.name_); if (!tbinfo) { - lyxerr << "Unknown toolbar " << tbitem_.name_ << endl; + LYXERR0("Unknown toolbar " << tbitem_.name_); return; } ToolbarInfo::item_iterator it = tbinfo->items.begin();