summaryrefslogtreecommitdiff
path: root/shell/source/backends/localebe/localebackend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/backends/localebe/localebackend.cxx')
-rw-r--r--shell/source/backends/localebe/localebackend.cxx4
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);
}