From 062c626e8545c524457b7ae8d440815b2db008f7 Mon Sep 17 00:00:00 2001 From: Vladimir Weinstein Date: Fri, 7 Nov 2003 09:01:24 +0000 Subject: [PATCH] ICU-2080 getLocale by type C++ wrapper X-SVN-Rev: 13634 --- icu4c/source/common/resbund.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/icu4c/source/common/resbund.cpp b/icu4c/source/common/resbund.cpp index fc076e01c0b..3d1857e417c 100644 --- a/icu4c/source/common/resbund.cpp +++ b/icu4c/source/common/resbund.cpp @@ -397,5 +397,10 @@ const Locale &ResourceBundle::getLocale(void) const return *locName; } +const Locale ResourceBundle::getLocale(ULocDataLocaleType type, UErrorCode &status) const +{ + return ures_getLocaleByType(resource, type, &status); +} + //eof U_NAMESPACE_END