summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-29 08:47:03 +0200
committerNoel Grandin <noel@peralex.com>2013-11-06 08:51:23 +0200
commitfa109ceba9796eddef82a71bc454e0fe393c81ce (patch)
treedc965ea5c59f87ab4689dc476e482cd6ad56a7d5 /editeng
parent296329a926877d069f55364a177d734f385ce7ae (diff)
convert xub_StrLen to sal_Int32
convert various module-local functions Change-Id: I89f3eb40b107e2617958e474ffe86bd73e01cf33
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 7e98f51c1ca8..1c094c35fe31 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -1590,11 +1590,11 @@ sal_Bool ImpEditEngine::IsInputSequenceCheckingRequired( sal_Unicode nChar, cons
return bIsSequenceChecking;
}
-static bool lcl_HasStrongLTR ( const OUString& rTxt, xub_StrLen nStart, xub_StrLen nEnd )
+static bool lcl_HasStrongLTR ( const OUString& rTxt, sal_Int32 nStart, sal_Int32 nEnd )
{
for( sal_Int32 nCharIdx = nStart; nCharIdx < nEnd; ++nCharIdx )
{
- const UCharDirection nCharDir = u_charDirection ( rTxt[ nCharIdx ]);
+ const UCharDirection nCharDir = u_charDirection ( rTxt[ nCharIdx ] );
if ( nCharDir == U_LEFT_TO_RIGHT ||
nCharDir == U_LEFT_TO_RIGHT_EMBEDDING ||
nCharDir == U_LEFT_TO_RIGHT_OVERRIDE )