diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:01:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:01:51 +0200 |
commit | c8f6c456bd840ae827368de5b501e453dd509da9 (patch) | |
tree | 1fdfface8b282a630a7db1151d4fbc881a23bf7e /shell | |
parent | loplugin:stringconstant: OUStringBuffer: appendAscii -> append (diff) | |
download | core-c8f6c456bd840ae827368de5b501e453dd509da9.tar.gz core-c8f6c456bd840ae827368de5b501e453dd509da9.zip |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I2e97fa10baa6a9bd290fabe250cf73d5f73e4537
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index 4b5c34a50be1..6961116ac3df 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -120,7 +120,7 @@ namespace /* private */ CFStringGuard srefGuard(sref); OUStringBuffer aLocaleBuffer; - aLocaleBuffer.appendAscii("en-US"); // initialize with fallback value + aLocaleBuffer.append("en-US"); // initialize with fallback value if (sref != NULL) { @@ -140,7 +140,7 @@ namespace /* private */ // value the second value is always the country! if (CFArrayGetCount(subs) > 1) { - aLocaleBuffer.appendAscii("-"); + aLocaleBuffer.append("-"); CFStringRef country = static_cast<CFStringRef>(CFArrayGetValueAtIndex(subs, 1)); OUStringBufferAppendCFString(aLocaleBuffer, country); } |