Kaydet (Commit) 06d90253 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use U_SUCCESS

Change-Id: If16848fc47bfa28c30c9ce4b547aeb68cf166d90
üst cc6cce6b
......@@ -529,7 +529,7 @@ bool match(const OUString& rPattern, const OUString& rInput)
icu::UnicodeString sIcuInput(reinterpret_cast<const UChar*>(rInput.getStr()), rInput.getLength());
RegexMatcher aMatcher(sIcuPattern, sIcuInput, 0, nIcuError);
if (nIcuError == U_ZERO_ERROR && aMatcher.matches(nIcuError) && nIcuError == U_ZERO_ERROR)
if (U_SUCCESS(nIcuError) && aMatcher.matches(nIcuError) && U_SUCCESS(nIcuError))
return true;
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