* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22266 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2007-12-23 00:48:41 +00:00
parent 4267ad00cd
commit fc11e21486
3 changed files with 3 additions and 3 deletions

View File

@ -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:`"

View File

@ -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);

View File

@ -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;