diff options
author | August Sodora <augsod@gmail.com> | 2011-11-28 21:44:30 -0500 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-12-01 11:10:28 +0100 |
commit | 443a7229f96806e6bbece775cc7cd643e1c4a042 (patch) | |
tree | c1753b0704662d7d2730abe26a44c3993f0225dd /sal | |
parent | 549f928863d0c1625f0322f62bfdda827063725e (diff) |
Remove uses of charAt
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/source/uri.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/uri.cxx b/sal/rtl/source/uri.cxx index 89107df17c7b..af5da83e785f 100644 --- a/sal/rtl/source/uri.cxx +++ b/sal/rtl/source/uri.cxx @@ -495,7 +495,7 @@ rtl::OUString joinPaths(Component const & rBasePath, Component const & rRelPath) } else { - while (aBuffer.charAt(i - 1) != '/') + while (i > 0 && aBuffer[i - 1] != '/') --i; aBuffer.setLength(i); } |