summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 11:02:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 09:40:19 +0000
commit5d0e485e827057eee9fb2c997685690b710e7f34 (patch)
treec83057f1e85195379451fafe32b274065f99167e /svtools
parented6c5a4908edb7d4ab075127b710a92e2abc753f (diff)
use actual UNO enums in reportdesign..svtools
Change-Id: Idcd916382b87f8542dc6b5cdcb5ecb01d6947203 Reviewed-on: https://gerrit.libreoffice.org/36043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-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 9214780ca1ef..2e4abe64c766 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -84,7 +84,7 @@ const OUString ApplyLreOrRleEmbedding( const OUString &rText )
bool bIsRtlText = false;
for (sal_Int32 i = 0; i < nLen && !bFound; ++i)
{
- sal_Int16 nDirection = rCharClass.getCharacterDirection( rText, i );
+ i18n::DirectionProperty nDirection = rCharClass.getCharacterDirection( rText, i );
switch (nDirection)
{
case i18n::DirectionProperty_LEFT_TO_RIGHT :