mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-1839 Use const UnicodeString & and not just UnicodeString.
X-SVN-Rev: 11547
This commit is contained in:
parent
0a866746c1
commit
ce8e689663
2 changed files with 2 additions and 2 deletions
icu4c/source/i18n
|
@ -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…
Add table
Reference in a new issue