From fc11e21486704cf32eaa38b4747bd26822863cd2 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Sun, 23 Dec 2007 00:48:41 +0000 Subject: [PATCH] * cosmetic git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22266 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ToolbarBackend.cpp | 2 +- src/frontends/qt4/GuiToolbars.cpp | 2 +- src/frontends/qt4/GuiToolbars.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ToolbarBackend.cpp b/src/ToolbarBackend.cpp index b789f1a9d9..afb2a78069 100644 --- a/src/ToolbarBackend.cpp +++ b/src/ToolbarBackend.cpp @@ -308,7 +308,7 @@ void ToolbarBackend::readToolbarSettings(Lexer & lex) else if (!compare_ascii_no_case(*cit, "right")) flag = ToolbarInfo::RIGHT; else if (!compare_ascii_no_case(*cit, "auto")) - flag = ToolbarInfo::AUTO; + flag = ToolbarInfo::AUTO; else { LYXERR(Debug::ANY, "ToolbarBackend::readToolbarSettings: unrecognised token:`" diff --git a/src/frontends/qt4/GuiToolbars.cpp b/src/frontends/qt4/GuiToolbars.cpp index ea8f764b75..25fc333b28 100644 --- a/src/frontends/qt4/GuiToolbars.cpp +++ b/src/frontends/qt4/GuiToolbars.cpp @@ -209,7 +209,7 @@ void GuiToolbars::toggleToolbarState(string const & name, bool allowauto) && ((flags & ToolbarInfo::MATH) || (flags & ToolbarInfo::TABLE) || (flags & ToolbarInfo::REVIEW) - || (flags & ToolbarInfo::MATHMACROTEMPLATE))) { + || (flags & ToolbarInfo::MATHMACROTEMPLATE))) { // for math etc, toggle from on -> auto TurnOffFlag(ON); TurnOnFlag(AUTO); diff --git a/src/frontends/qt4/GuiToolbars.h b/src/frontends/qt4/GuiToolbars.h index 28d36a3ffd..29ec7b3092 100644 --- a/src/frontends/qt4/GuiToolbars.h +++ b/src/frontends/qt4/GuiToolbars.h @@ -51,7 +51,7 @@ public: /// Update the state of the toolbars. void update(bool in_math, bool in_table, bool review, - bool in_mathmacrotemplate); + bool in_mathmacrotemplate); /// Is the Toolbar currently visible? bool visible(std::string const & name) const;