summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/accessibletexthelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/accessibletexthelper.cxx')
-rw-r--r--comphelper/source/misc/accessibletexthelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/accessibletexthelper.cxx b/comphelper/source/misc/accessibletexthelper.cxx
index a724fdfe185e..224a81ac6774 100644
--- a/comphelper/source/misc/accessibletexthelper.cxx
+++ b/comphelper/source/misc/accessibletexthelper.cxx
@@ -241,7 +241,7 @@ namespace comphelper
if ( !implIsValidIndex( nIndex, sText.getLength() ) )
throw IndexOutOfBoundsException();
- return sText.getStr()[nIndex];
+ return sText[nIndex];
}
// -----------------------------------------------------------------------------