From 1512fbd261e229c4d95f70cc5061f105a1ac7a0f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 7 Nov 2008 13:20:25 +0000 Subject: Formatting. svn-id: r34927 --- gui/ListWidget.h | 6 +++--- gui/launcher.cpp | 2 +- gui/launcher.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gui') diff --git a/gui/ListWidget.h b/gui/ListWidget.h index dfc93cb1d1..23bcc3c1a7 100644 --- a/gui/ListWidget.h +++ b/gui/ListWidget.h @@ -80,11 +80,11 @@ public: virtual Widget *findWidget(int x, int y); - void setList(const StringList& list); - const StringList& getList() const { return _list; } + void setList(const StringList &list); + const StringList &getList() const { return _list; } int getSelected() const { return _selectedItem; } void setSelected(int item); - const String& getSelectedString() const { return _list[_selectedItem]; } + const String &getSelectedString() const { return _list[_selectedItem]; } void setNumberingMode(NumberingMode numberingMode) { _numberingMode = numberingMode; } bool isEditable() const { return _editable; } void setEditable(bool editable) { _editable = editable; } diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 9176dc9426..621a664a89 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -535,7 +535,7 @@ int SaveLoadChooser::runModal(const EnginePlugin *plugin, const String &target) return ret; } -const Common::String& SaveLoadChooser::getResultString() const { +const Common::String &SaveLoadChooser::getResultString() const { return _list->getSelectedString(); } diff --git a/gui/launcher.h b/gui/launcher.h index ac0d219b82..9e101c0dd8 100644 --- a/gui/launcher.h +++ b/gui/launcher.h @@ -114,7 +114,7 @@ public: void setList(const StringList& list); int runModal(const EnginePlugin *plugin, const String &target); - const Common::String& getResultString() const; + const Common::String &getResultString() const; void setSaveMode(bool saveMode); virtual void reflowLayout(); -- cgit v1.2.3