aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-02 22:16:33 +0000
committerJohannes Schickel2009-01-02 22:16:33 +0000
commit3558cf0e5ee9abed62ee8d358c5f03dfca242b3b (patch)
tree90a2e6c5f7a42ddd19abf5d52b0f7c7d86fd1501 /gui
parent95074af35ce7e91b0b7cc9bbafde134aeabb7ed7 (diff)
downloadscummvm-rg350-3558cf0e5ee9abed62ee8d358c5f03dfca242b3b.tar.gz
scummvm-rg350-3558cf0e5ee9abed62ee8d358c5f03dfca242b3b.tar.bz2
scummvm-rg350-3558cf0e5ee9abed62ee8d358c5f03dfca242b3b.zip
Cleanup.
svn-id: r35687
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 4ee8bc2332..6e622ac758 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -1096,7 +1096,7 @@ Common::String ThemeEngine::genCacheFilename(const char *filename) {
}
}
- return "";
+ return Common::String();
}
@@ -1169,7 +1169,7 @@ void ThemeEngine::listUsableThemes(Common::List<ThemeDescriptor> &list) {
ThemeDescriptor th;
th.name = "ScummVM Classic Theme (Builtin Version)";
th.id = "builtin";
- th.filename = "";
+ th.filename.clear();
list.push_back(th);
#endif
@@ -1275,7 +1275,7 @@ Common::String ThemeEngine::getThemeFile(const Common::String &id) {
// our default theme which would mean "scummmodern" instead
// of the builtin one.
if (id.equalsIgnoreCase("default"))
- return "";
+ return Common::String();
Common::FSNode node(id);
@@ -1299,7 +1299,7 @@ Common::String ThemeEngine::getThemeFile(const Common::String &id) {
// If no matching id has been found we will
// just fall back to the builtin theme
- return "";
+ return Common::String();
}
Common::String ThemeEngine::getThemeId(const Common::String &filename) {