summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-11-28 21:44:30 -0500
committerThorsten Behrens <tbehrens@suse.com>2011-12-01 11:10:28 +0100
commit443a7229f96806e6bbece775cc7cd643e1c4a042 (patch)
treec1753b0704662d7d2730abe26a44c3993f0225dd /svl
parent549f928863d0c1625f0322f62bfdda827063725e (diff)
Remove uses of charAt
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/urihelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx
index 1f77417e264f..e2de352ac8da 100644
--- a/svl/source/misc/urihelper.cxx
+++ b/svl/source/misc/urihelper.cxx
@@ -265,7 +265,7 @@ rtl::OUString normalize(
if (preCount == i - 1) {
buf.append(static_cast< sal_Unicode >('/'));
} else if (preCount - 1 == i && buf.getLength() > 0
- && buf.charAt(buf.getLength() - 1) == '/')
+ && buf[buf.getLength() - 1] == '/')
{
buf.setLength(buf.getLength() - 1);
} else {