Skip to content

Commit

Permalink
Explicitly qualify ICU types with icu:: namespace
Browse files Browse the repository at this point in the history
It will be required by ICU 61 anyway, see
https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild

Change-Id: Ib7accd75a6e35932048d779cf7bf0a5a33f8ed0d
Reviewed-on: https://gerrit.libreoffice.org/46741
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
  • Loading branch information
erAck committed Dec 19, 2017
1 parent 7c46e00 commit 8960ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencl/source/openclconfig.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ bool match(const OUString& rPattern, const OUString& rInput)
UErrorCode nIcuError(U_ZERO_ERROR);
icu::UnicodeString sIcuPattern(reinterpret_cast<const UChar*>(rPattern.getStr()), rPattern.getLength());
icu::UnicodeString sIcuInput(reinterpret_cast<const UChar*>(rInput.getStr()), rInput.getLength());
RegexMatcher aMatcher(sIcuPattern, sIcuInput, 0, nIcuError);
icu::RegexMatcher aMatcher(sIcuPattern, sIcuInput, 0, nIcuError);

return U_SUCCESS(nIcuError) && aMatcher.matches(nIcuError) && U_SUCCESS(nIcuError);
}
Expand Down

0 comments on commit 8960ecc

Please sign in to comment.