From 5d0e485e827057eee9fb2c997685690b710e7f34 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Apr 2017 11:02:38 +0200 Subject: use actual UNO enums in reportdesign..svtools Change-Id: Idcd916382b87f8542dc6b5cdcb5ecb01d6947203 Reviewed-on: https://gerrit.libreoffice.org/36043 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/misc/langtab.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') 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 : -- cgit