summaryrefslogtreecommitdiff
path: root/cppuhelper/source/unourl.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-12-13 23:10:39 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-12-13 23:30:29 +0100
commit332a317ea5d1f5a36a74c83fb4b0bc1632f8c252 (patch)
tree4fb33fa4f49b528525850f6d97bec4819a043872 /cppuhelper/source/unourl.cxx
parent9b9c5a318abeaeeafb76ba7fcd09f350740f8ef3 (diff)
cppcheck: fix same expression, ')' = 29 not 28 in ascii'
Change-Id: I90e22a5532f59b190c59d267256b5e889e82da74
Diffstat (limited to 'cppuhelper/source/unourl.cxx')
-rw-r--r--cppuhelper/source/unourl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/unourl.cxx b/cppuhelper/source/unourl.cxx
index a9aa133f7fdc..9561aeba60e6 100644
--- a/cppuhelper/source/unourl.cxx
+++ b/cppuhelper/source/unourl.cxx
@@ -239,7 +239,7 @@ inline UnoUrl::Impl * UnoUrl::Impl::create(rtl::OUString const & rUrl)
sal_Unicode c = rUrl[j];
if (!isAlphanum(c) && c != 0x21 && c != 0x24 // '!', '$'
&& c != 0x26 && c != 0x27 && c != 0x28 // '&', ''', '('
- && c != 0x28 && c != 0x2A && c != 0x2B // ')', '*', '+'
+ && c != 0x29 && c != 0x2A && c != 0x2B // ')', '*', '+'
&& c != 0x2C && c != 0x2D && c != 0x2E // ',', '-', '.'
&& c != 0x2F && c != 0x3A && c != 0x3D // '/', ':', '='
&& c != 0x3F && c != 0x40 && c != 0x5F // '?', '@', '_'