diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-10 09:26:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-12 13:15:25 +0200 |
commit | 80612512fe3d681f13b794e84e30072ba149b698 (patch) | |
tree | 853f5c8f9634189e7f456a994b09cfd5f95fe479 /ucb/source/regexp | |
parent | 7e72b9de5545ac3baaa44e2d7f11c2872b1677a7 (diff) |
remove unnecessary casts
It is no longer necessary to cast to sal_Unicode when calling
OUStringBuffer::append
Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
Diffstat (limited to 'ucb/source/regexp')
-rw-r--r-- | ucb/source/regexp/regexp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/regexp/regexp.cxx b/ucb/source/regexp/regexp.cxx index 7e84f19780a1..354e970e2e0e 100644 --- a/ucb/source/regexp/regexp.cxx +++ b/ucb/source/regexp/regexp.cxx @@ -283,7 +283,7 @@ OUString Regexp::getRegexp(bool bReverse) const case KIND_DOMAIN: aBuffer.append("[^/?#]"); - aBuffer.append(sal_Unicode(m_bEmptyDomain ? '*' : '+')); + aBuffer.append( m_bEmptyDomain ? '*' : '+' ); if (!m_aInfix.isEmpty()) appendStringLiteral(&aBuffer, m_aInfix); aBuffer.append("([/?#].*)?"); |