ICU-1839 Use const UnicodeString & and not just UnicodeString.
X-SVN-Rev: 11547
This commit is contained in:
parent
0a866746c1
commit
ce8e689663
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user