From 87f2e962698e6d02b2a643c90079d2570a2dfe8b Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 21 Feb 2003 15:36:29 +0000 Subject: [PATCH] Whitespace only git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6228 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ButtonController.tmpl | 10 +++++----- src/frontends/controllers/ControlDialog.tmpl | 2 +- src/frontends/controllers/ControlPrefs.h | 2 +- src/frontends/controllers/ControlSpellchecker.C | 2 +- src/frontends/controllers/tex_helpers.C | 4 ++-- src/frontends/xforms/FileDialog.C | 2 +- src/frontends/xforms/FormDocument.C | 2 +- src/frontends/xforms/FormPreferences.h | 2 +- src/frontends/xforms/Menubar_pimpl.C | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/frontends/controllers/ButtonController.tmpl b/src/frontends/controllers/ButtonController.tmpl index 024c4d2d43..a53af6c248 100644 --- a/src/frontends/controllers/ButtonController.tmpl +++ b/src/frontends/controllers/ButtonController.tmpl @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Allan Rae - * \author Angus Leeming + * \author Angus Leeming * \author Baruch Even * * Full author contact details are available in file CREDITS @@ -16,7 +16,7 @@ */ #include "ButtonController.h" -#include "debug.h" +#include "debug.h" template GuiBC::GuiBC(string const & cancel, string const & close) @@ -28,7 +28,7 @@ GuiBC::GuiBC(string const & cancel, string const & close) template void GuiBC::refresh() { - lyxerr[Debug::GUI] << "Calling BC refresh()" << std::endl; + lyxerr[Debug::GUI] << "Calling BC refresh()" << std::endl; bool const all_valid = checkWidgets(); @@ -38,12 +38,12 @@ void GuiBC::refresh() setButtonEnabled(okay_, enabled); } if (apply_) { - bool const enabled = + bool const enabled = all_valid && bp().buttonStatus(ButtonPolicy::APPLY); setButtonEnabled(apply_, enabled); } if (restore_) { - bool const enabled = + bool const enabled = all_valid && bp().buttonStatus(ButtonPolicy::RESTORE); setButtonEnabled(restore_, enabled); } diff --git a/src/frontends/controllers/ControlDialog.tmpl b/src/frontends/controllers/ControlDialog.tmpl index abcd863bbc..dffa2e7ecc 100644 --- a/src/frontends/controllers/ControlDialog.tmpl +++ b/src/frontends/controllers/ControlDialog.tmpl @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Angus Leeming + * \author Angus Leeming * * Full author contact details are available in file CREDITS * diff --git a/src/frontends/controllers/ControlPrefs.h b/src/frontends/controllers/ControlPrefs.h index f061b667a3..0d321fb959 100644 --- a/src/frontends/controllers/ControlPrefs.h +++ b/src/frontends/controllers/ControlPrefs.h @@ -44,7 +44,7 @@ public: /// general browse string const browse(string const & file, string const & title); - + /// browse directory string const browsedir(string const & path, string const & title); diff --git a/src/frontends/controllers/ControlSpellchecker.C b/src/frontends/controllers/ControlSpellchecker.C index d485acbbdd..c3019bda99 100644 --- a/src/frontends/controllers/ControlSpellchecker.C +++ b/src/frontends/controllers/ControlSpellchecker.C @@ -55,7 +55,7 @@ void ControlSpellchecker::clearParams() endSession(); } - + void ControlSpellchecker::startSession() { lyxerr[Debug::GUI] << "spell startSession" << endl; diff --git a/src/frontends/controllers/tex_helpers.C b/src/frontends/controllers/tex_helpers.C index 327f6f2d23..8f684bcc32 100644 --- a/src/frontends/controllers/tex_helpers.C +++ b/src/frontends/controllers/tex_helpers.C @@ -80,13 +80,13 @@ string const getTexFileList(string const & filename, bool withFullPath) if (withFullPath) { lyx::eliminate_duplicates(dbase); - string const str_out = + string const str_out = getStringFromVector(dbase, "\n"); return str_out; } vector dbaseWP = listWithoutPath(dbase); lyx::eliminate_duplicates(dbaseWP); - string const str_out = + string const str_out = getStringFromVector(dbaseWP, "\n"); return str_out; } diff --git a/src/frontends/xforms/FileDialog.C b/src/frontends/xforms/FileDialog.C index 807476c191..a2fed83db8 100644 --- a/src/frontends/xforms/FileDialog.C +++ b/src/frontends/xforms/FileDialog.C @@ -50,7 +50,7 @@ FileDialog::Result const FileDialog::save(string const & path, string const & ma FileDialog::Result const FileDialog::opendir(string const & path, string const & suggested) { - lyxerr[Debug::GUI] << "filedialog open with path \"" << path << "\", suggested \"" + lyxerr[Debug::GUI] << "filedialog open with path \"" << path << "\", suggested \"" << suggested << '"' << endl; // no support for asynchronous selection yet diff --git a/src/frontends/xforms/FormDocument.C b/src/frontends/xforms/FormDocument.C index 12389f84f3..32b4d90142 100644 --- a/src/frontends/xforms/FormDocument.C +++ b/src/frontends/xforms/FormDocument.C @@ -584,7 +584,7 @@ ButtonPolicy::SMInput FormDocument::input(FL_OBJECT * ob, long) if (!enable) fl_set_choice(paper_->choice_paperpackage, BufferParams::PACKAGE_NONE + 1); - setEnabled(paper_->choice_paperpackage, + setEnabled(paper_->choice_paperpackage, enable && fl_get_button(paper_->radio_portrait)); } diff --git a/src/frontends/xforms/FormPreferences.h b/src/frontends/xforms/FormPreferences.h index c94d3d90a5..bc6b5f8270 100644 --- a/src/frontends/xforms/FormPreferences.h +++ b/src/frontends/xforms/FormPreferences.h @@ -354,7 +354,7 @@ private: boost::scoped_ptr dialog_; }; friend class Identity; - + /// class OutputsMisc { public: diff --git a/src/frontends/xforms/Menubar_pimpl.C b/src/frontends/xforms/Menubar_pimpl.C index 00b99703b9..8ea8fef5e1 100644 --- a/src/frontends/xforms/Menubar_pimpl.C +++ b/src/frontends/xforms/Menubar_pimpl.C @@ -272,7 +272,7 @@ int Menubar::Pimpl::create_submenu(Window win, XFormsView * view, if (!shortcut.empty()) { shortcut += lowercase(shortcut[0]); label += "%h"; - } + } // Finally add the action/submenu if (item.kind() == MenuItem::Submenu) { -- 2.39.5