summaryrefslogtreecommitdiffstats
path: root/tools/source/rc/isofallback.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/rc/isofallback.cxx')
-rw-r--r--tools/source/rc/isofallback.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/rc/isofallback.cxx b/tools/source/rc/isofallback.cxx
index e2a82a865b94..2fae5cfc9eee 100644
--- a/tools/source/rc/isofallback.cxx
+++ b/tools/source/rc/isofallback.cxx
@@ -42,7 +42,7 @@ bool GetIsoFallback(rtl::OString& rLanguage)
sal_Int32 nSepPos = rLanguage.indexOf('-');
if (nSepPos == -1)
{
- if (rLanguage == rtl::OString(RTL_CONSTASCII_STRINGPARAM("en")))
+ if (rLanguage.equalsL(RTL_CONSTASCII_STRINGPARAM("en")))
{
// en -> ""
rLanguage = rtl::OString();