mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
Redeclarations of format/parse needed in Format hierarchy - only redeclare to immedidate base\!
X-Trac-URL: https://ssl.icu-project.org/trac/ticket/25 git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@90 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
parent
f7a73cef52
commit
119d278a53
1 changed files with 4 additions and 2 deletions
|
@ -263,7 +263,7 @@ public:
|
|||
UErrorCode& status) const;
|
||||
|
||||
/**
|
||||
* Redeclared Format method.
|
||||
* Redeclared NumberFormat method.
|
||||
*/
|
||||
UnicodeString& format(const Formattable& obj,
|
||||
UnicodeString& result,
|
||||
|
@ -409,7 +409,9 @@ inline UnicodeString&
|
|||
ChoiceFormat::format(const Formattable& obj,
|
||||
UnicodeString& result,
|
||||
UErrorCode& status) const {
|
||||
return Format::format(obj, result, status);
|
||||
// Don't use Format:: - use NumberFormat:: in case base class
|
||||
// modified behavior in future.
|
||||
return NumberFormat::format(obj, result, status);
|
||||
}
|
||||
|
||||
inline UnicodeString&
|
||||
|
|
Loading…
Add table
Reference in a new issue