summaryrefslogtreecommitdiff
path: root/vcl/unx/x11/x11sys.cxx
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 /vcl/unx/x11/x11sys.cxx
parent549f928863d0c1625f0322f62bfdda827063725e (diff)
Remove uses of charAt
Diffstat (limited to 'vcl/unx/x11/x11sys.cxx')
-rw-r--r--vcl/unx/x11/x11sys.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/x11/x11sys.cxx b/vcl/unx/x11/x11sys.cxx
index e9dbc374faa8..522aeecfae85 100644
--- a/vcl/unx/x11/x11sys.cxx
+++ b/vcl/unx/x11/x11sys.cxx
@@ -124,10 +124,10 @@ rtl::OUString X11SalSystem::GetScreenName( unsigned int nScreen )
int nPos = aBuf.getLength();
if( nPos > 0 )
nPos--;
- while( nPos > 0 && aBuf.charAt( nPos ) != ':' )
+ while( nPos > 0 && aBuf[nPos] != ':' )
nPos--;
// search forward to '.'
- while( nPos < aBuf.getLength() && aBuf.charAt( nPos ) != '.' )
+ while( nPos < aBuf.getLength() && aBuf[nPos] != '.' )
nPos++;
if( nPos < aBuf.getLength() )
aBuf.setLength( nPos+1 );