diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accessibletexthelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/accessibletexthelper.cxx b/comphelper/source/misc/accessibletexthelper.cxx index 49d6d9326442..13ab75e0f83b 100644 --- a/comphelper/source/misc/accessibletexthelper.cxx +++ b/comphelper/source/misc/accessibletexthelper.cxx @@ -189,11 +189,11 @@ namespace comphelper rBoundary.startPos = 0; rBoundary.endPos = sText.getLength(); - sal_Int32 nFound = sText.lastIndexOf( (sal_Unicode)'\n', nIndex ); + sal_Int32 nFound = sText.lastIndexOf( '\n', nIndex ); if ( nFound != -1 ) rBoundary.startPos = nFound + 1; - nFound = sText.indexOf( (sal_Unicode)'\n', nIndex ); + nFound = sText.indexOf( '\n', nIndex ); if ( nFound != -1 ) rBoundary.endPos = nFound + 1; } |