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

microopt, equalsAsciiL faster than equalsAscii

üst 7e2450af
......@@ -3286,9 +3286,9 @@ bool INetURLObject::parsePath(INetProtocol eScheme,
}
bool bInbox;
rtl::OUString sCompare(aTheSynPath);
if (sCompare.equalsAscii("/inbox"))
if (sCompare.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("/inbox")))
bInbox = true;
else if (sCompare.equalsAscii("/newsgroups"))
else if (sCompare.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("/newsgroups")))
bInbox = false;
else
return false;
......
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