summaryrefslogtreecommitdiff
path: root/ucb/source/regexp/regexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/regexp/regexp.cxx')
-rw-r--r--ucb/source/regexp/regexp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/regexp/regexp.cxx b/ucb/source/regexp/regexp.cxx
index 44c2d8c54fa0..7e84f19780a1 100644
--- a/ucb/source/regexp/regexp.cxx
+++ b/ucb/source/regexp/regexp.cxx
@@ -301,8 +301,8 @@ bool matchString(sal_Unicode const ** pBegin, sal_Unicode const * pEnd,
{
sal_Unicode const * p = *pBegin;
- sal_uChar const * q = reinterpret_cast< sal_uChar const * >(pString);
- sal_uChar const * qEnd = q + nStringLength;
+ unsigned char const * q = reinterpret_cast< unsigned char const * >(pString);
+ unsigned char const * qEnd = q + nStringLength;
if (pEnd - p < qEnd - q)
return false;