diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 23:52:42 +0900 |
commit | 41e0f335b5e2ab65cf47191a5b1c32adee2c24c3 (patch) | |
tree | 016b50163495e6d8607a1205b4e29179fbf56f8a /tdecore/tdelocale.cpp | |
parent | 9c1e136983b9361291646002b2c6c1f733ee13d4 (diff) | |
download | tdelibs-41e0f335b5e2ab65cf47191a5b1c32adee2c24c3.tar.gz tdelibs-41e0f335b5e2ab65cf47191a5b1c32adee2c24c3.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
Diffstat (limited to 'tdecore/tdelocale.cpp')
-rw-r--r-- | tdecore/tdelocale.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/tdelocale.cpp b/tdecore/tdelocale.cpp index f841d7375..2229418a1 100644 --- a/tdecore/tdelocale.cpp +++ b/tdecore/tdelocale.cpp @@ -1976,7 +1976,7 @@ TQString TDELocale::formatDateTime(const TQDateTime &pDateTime, TQString i18n(const char* text) { - register TDELocale *instance = TDEGlobal::locale(); + TDELocale *instance = TDEGlobal::locale(); if (instance) return instance->translate(text); return TQString::fromUtf8(text); @@ -1984,7 +1984,7 @@ TQString i18n(const char* text) TQString i18n(const char* index, const char *text) { - register TDELocale *instance = TDEGlobal::locale(); + TDELocale *instance = TDEGlobal::locale(); if (instance) return instance->translate(index, text); return TQString::fromUtf8(text); @@ -1992,7 +1992,7 @@ TQString i18n(const char* index, const char *text) TQString i18n(const char* singular, const char* plural, unsigned long n) { - register TDELocale *instance = TDEGlobal::locale(); + TDELocale *instance = TDEGlobal::locale(); if (instance) return instance->translate(singular, plural, n); if (n == 1) |