Kaydet (Commit) fe64e6fc authored tarafından Caolán McNamara's avatar Caolán McNamara

use OString::equalsL

üst 124a30f4
...@@ -42,7 +42,7 @@ bool GetIsoFallback(rtl::OString& rLanguage) ...@@ -42,7 +42,7 @@ bool GetIsoFallback(rtl::OString& rLanguage)
sal_Int32 nSepPos = rLanguage.indexOf('-'); sal_Int32 nSepPos = rLanguage.indexOf('-');
if (nSepPos == -1) if (nSepPos == -1)
{ {
if (rLanguage == rtl::OString(RTL_CONSTASCII_STRINGPARAM("en"))) if (rLanguage.equalsL(RTL_CONSTASCII_STRINGPARAM("en")))
{ {
// en -> "" // en -> ""
rLanguage = rtl::OString(); rLanguage = rtl::OString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment