summaryrefslogtreecommitdiff
path: root/svtools/source/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-08 11:01:32 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-05 08:17:47 -0500
commit31997f54ed2652a5401f8c7e7026eb83316604e8 (patch)
treeb524a51ad28b240ef65438c8785900a8434a8d3e /svtools/source/misc
parent4ffee8f4532cc561cd0c717b4bd6e52a99f5c43d (diff)
loplugin:loopvartoosmall
Change-Id: If76fa042462897735d0d67341a3734b8cfced12c (cherry picked from commit 6412b9c5dd10af511cc255a952be4b18a25ab9a8) (cherry picked from commit 3f447f4a613dc692f4775b2d8988711213b01b42)
Diffstat (limited to 'svtools/source/misc')
-rw-r--r--svtools/source/misc/langtab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index 272f8edf3fc6..1c303f9fb72b 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -82,7 +82,7 @@ const OUString ApplyLreOrRleEmbedding( const OUString &rText )
// Thus we can avoid to check every character of the text.
bool bFound = false;
bool bIsRtlText = false;
- for (sal_uInt16 i = 0; i < nLen && !bFound; ++i)
+ for (sal_Int32 i = 0; i < nLen && !bFound; ++i)
{
sal_Int16 nDirection = rCharClass.getCharacterDirection( rText, i );
switch (nDirection)