ICU-1839 Use const UnicodeString & and not just UnicodeString.

X-SVN-Rev: 11547
This commit is contained in:
George Rhoten 2003-04-15 15:58:20 +00:00
parent 0a866746c1
commit ce8e689663
2 changed files with 2 additions and 2 deletions

View File

@ -1730,7 +1730,7 @@ UnicodeString DecimalFormat::getPadCharacterString() {
* @see #getPadPosition
* @see #setPadPosition
*/
void DecimalFormat::setPadCharacter(UnicodeString padChar) {
void DecimalFormat::setPadCharacter(const UnicodeString &padChar) {
if (padChar.length() > 0) {
fPad = padChar;
}

View File

@ -694,7 +694,7 @@ public:
* @see #setPadPosition
* @stable ICU 2.0
*/
virtual void setPadCharacter(UnicodeString padChar);
virtual void setPadCharacter(const UnicodeString &padChar);
/**
* Get the position at which padding will take place. This is the location