diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-20 19:32:26 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-20 19:32:51 +0200 |
commit | 06d90253c2890d437063aae263a1f9a5f9280ad8 (patch) | |
tree | 73c9cf9f0634854c9814557f64f5490ea35a13cd | |
parent | cc6cce6b1be75cd160fc858051e305961fe697dd (diff) |
Use U_SUCCESS
Change-Id: If16848fc47bfa28c30c9ce4b547aeb68cf166d90
-rw-r--r-- | sc/source/core/opencl/openclwrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx index 1e4bb7aee42b..66af89fa05e2 100644 --- a/sc/source/core/opencl/openclwrapper.cxx +++ b/sc/source/core/opencl/openclwrapper.cxx @@ -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; |