diff options
Diffstat (limited to 'include/ScopedIcuLocale.h')
-rw-r--r-- | include/ScopedIcuLocale.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ScopedIcuLocale.h b/include/ScopedIcuLocale.h index 2109e03..64186e3 100644 --- a/include/ScopedIcuLocale.h +++ b/include/ScopedIcuLocale.h @@ -36,7 +36,7 @@ class ScopedIcuLocale { return; } - mLocale = Locale::createFromName(localeName.c_str()); + mLocale = icu::Locale::createFromName(localeName.c_str()); } ~ScopedIcuLocale() { @@ -46,13 +46,13 @@ class ScopedIcuLocale { return !mLocale.isBogus(); } - Locale& locale() { + icu::Locale& locale() { return mLocale; } private: JNIEnv* const mEnv; - Locale mLocale; + icu::Locale mLocale; // Disallow copy and assignment. ScopedIcuLocale(const ScopedIcuLocale&); |