summaryrefslogtreecommitdiff
path: root/vcl/source/edit/xtextedt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-05 09:59:55 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:39 +0200
commitc9eb7eefd19ee5d9ecf5c6d4c2d701f169847a07 (patch)
tree0c668f544267a2d63eae1e9d9bb1269347a26977 /vcl/source/edit/xtextedt.cxx
parent38d823a81b361fd91bf46a88e90b456e51e6563a (diff)
covnert vcl/texteng.hxx from String to OUString
Change-Id: Iaa2dca415b30cae436173df27058c9d3e3755efd
Diffstat (limited to 'vcl/source/edit/xtextedt.cxx')
-rw-r--r--vcl/source/edit/xtextedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index c47dd1607aad..97149a304ad2 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -43,7 +43,7 @@ TextSelection ExtTextEngine::MatchGroup( const TextPaM& rCursor ) const
sal_uLong nParas = GetParagraphCount();
if ( ( nPara < nParas ) && ( nPos < GetTextLen( nPara ) ) )
{
- sal_uInt16 nMatchChar = maGroupChars.Search( GetText( rCursor.GetPara() ).GetChar( nPos ) );
+ sal_uInt16 nMatchChar = maGroupChars.Search( GetText( rCursor.GetPara() )[ nPos ] );
if ( nMatchChar != STRING_NOTFOUND )
{
if ( ( nMatchChar % 2 ) == 0 )