ICU-5410 Remove untestable/unneeded private code that can't be tested from the API
X-SVN-Rev: 20666
This commit is contained in:
parent
9901edb69b
commit
1d283c8c87
@ -1,6 +1,6 @@
|
||||
/*
|
||||
**********************************************************************
|
||||
* Copyright (c) 2004, International Business Machines
|
||||
* Copyright (c) 2004-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Author: Alan Liu
|
||||
@ -53,24 +53,12 @@ UnicodeString& CurrencyFormat::format(const Formattable& obj,
|
||||
return fmt->format(obj, appendTo, pos, ec);
|
||||
}
|
||||
|
||||
UnicodeString& CurrencyFormat::format(const Formattable& obj,
|
||||
UnicodeString& appendTo,
|
||||
UErrorCode& ec) const {
|
||||
return MeasureFormat::format(obj, appendTo, ec);
|
||||
}
|
||||
|
||||
void CurrencyFormat::parseObject(const UnicodeString& source,
|
||||
Formattable& result,
|
||||
ParsePosition& pos) const {
|
||||
fmt->parseCurrency(source, result, pos);
|
||||
}
|
||||
|
||||
void CurrencyFormat::parseObject(const UnicodeString& source,
|
||||
Formattable& result,
|
||||
UErrorCode& ec) const {
|
||||
MeasureFormat::parseObject(source, result, ec);
|
||||
}
|
||||
|
||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyFormat)
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
**********************************************************************
|
||||
* Copyright (c) 2004, International Business Machines
|
||||
* Copyright (c) 2004-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Author: Alan Liu
|
||||
@ -70,13 +70,6 @@ class U_I18N_API CurrencyFormat : public MeasureFormat {
|
||||
FieldPosition& pos,
|
||||
UErrorCode& ec) const;
|
||||
|
||||
/**
|
||||
* Redeclare Format API to prevent hiding.
|
||||
*/
|
||||
UnicodeString& format(const Formattable& obj,
|
||||
UnicodeString& appendTo,
|
||||
UErrorCode& ec) const;
|
||||
|
||||
/**
|
||||
* Override Format API.
|
||||
*/
|
||||
@ -84,13 +77,6 @@ class U_I18N_API CurrencyFormat : public MeasureFormat {
|
||||
Formattable& result,
|
||||
ParsePosition& pos) const;
|
||||
|
||||
/**
|
||||
* Redeclare Format API to prevent hiding.
|
||||
*/
|
||||
void parseObject(const UnicodeString& source,
|
||||
Formattable& result,
|
||||
UErrorCode& ec) const;
|
||||
|
||||
/**
|
||||
* Override Format API.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user