mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 23:10:40 +00:00
ICU-3668 make getters const
X-SVN-Rev: 14799
This commit is contained in:
parent
689390169c
commit
f2b6b0f836
2 changed files with 2 additions and 2 deletions
|
@ -423,7 +423,7 @@ RuleBasedNumberFormat::setDefaultRuleSet(const UnicodeString& ruleSetName, UErro
|
|||
}
|
||||
|
||||
UnicodeString
|
||||
RuleBasedNumberFormat::getDefaultRuleSetName() {
|
||||
RuleBasedNumberFormat::getDefaultRuleSetName() const {
|
||||
UnicodeString result;
|
||||
if (defaultRuleSet && defaultRuleSet->isPublic()) {
|
||||
defaultRuleSet->getName(result);
|
||||
|
|
|
@ -793,7 +793,7 @@ public:
|
|||
* @return the name of the current default rule set
|
||||
* @draft ICU 3.0
|
||||
*/
|
||||
virtual UnicodeString getDefaultRuleSetName();
|
||||
virtual UnicodeString getDefaultRuleSetName() const;
|
||||
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue