summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/paper.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index 042a82e72f93..995f60ce8c3e 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -349,8 +349,9 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
if (aLocaleStr.isEmpty())
aLocaleStr = officecfg::System::L10N::Locale::get();
+ static const OUStringLiteral EN_US = u"en-US";
if (aLocaleStr.isEmpty())
- aLocaleStr = OUString::intern(RTL_CONSTASCII_USTRINGPARAM("en-US"));
+ aLocaleStr = EN_US;
// convert locale string to locale struct
css::lang::Locale aSysLocale;