aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2010-11-11 19:20:26 +0000
committerJohannes Schickel2010-11-11 19:20:26 +0000
commitc624202c39215ea4b555567ee45abe01cac92133 (patch)
tree915f3b87a04155a344cae04498a9b8cb24664295 /common
parentebee22a934dd57932d0fc291fe94f0fa95e46997 (diff)
downloadscummvm-rg350-c624202c39215ea4b555567ee45abe01cac92133.tar.gz
scummvm-rg350-c624202c39215ea4b555567ee45abe01cac92133.tar.bz2
scummvm-rg350-c624202c39215ea4b555567ee45abe01cac92133.zip
COMMON: Fix compilation when translation support is disabled (regression from r54207).
svn-id: r54209
Diffstat (limited to 'common')
-rw-r--r--common/translation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/translation.cpp b/common/translation.cpp
index 3512edb494..9e81816234 100644
--- a/common/translation.cpp
+++ b/common/translation.cpp
@@ -451,7 +451,7 @@ String TranslationManager::getLangById(int id) const {
return String();
}
-int TranslationManager::parseLanguage(const String lang) const {
+int TranslationManager::parseLanguage(const String &lang) const {
return kTranslationBuiltinId;
}
@@ -479,7 +479,7 @@ String TranslationManager::getCurrentCharset() const {
return "ASCII";
}
-String *TranslationManager::getCurrentLanguage() const {
+String TranslationManager::getCurrentLanguage() const {
return "C";
}