diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 14:10:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-31 06:58:39 +0000 |
commit | 3c56928c9245b87feb2c32dbd200ff108089db61 (patch) | |
tree | 1e073224c6119c57dcfe0a88c29eee29f545e45a /include/unotools | |
parent | 97844a113fcaf7e2a0c52203e6792c71e2389f39 (diff) |
use actual UNO enums in unotools
Change-Id: I71ee54a5eb70f1a322cc87cd940bc63ff95366b6
Reviewed-on: https://gerrit.libreoffice.org/35906
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/charclass.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/unotools/charclass.hxx b/include/unotools/charclass.hxx index 5c050ccba2a5..20f9857d0ac0 100644 --- a/include/unotools/charclass.hxx +++ b/include/unotools/charclass.hxx @@ -22,11 +22,13 @@ #include <unotools/unotoolsdllapi.h> #include <i18nlangtag/languagetag.hxx> +#include <com/sun/star/i18n/DirectionProperty.hpp> #include <com/sun/star/i18n/KCharacterType.hpp> #include <com/sun/star/i18n/KParseTokens.hpp> #include <com/sun/star/i18n/KParseType.hpp> #include <com/sun/star/i18n/ParseResult.hpp> #include <com/sun/star/i18n/XCharacterClassification.hpp> +#include <com/sun/star/i18n/UnicodeScript.hpp> #include <osl/mutex.hxx> #include <rtl/character.hxx> @@ -147,8 +149,8 @@ public: } sal_Int16 getType( const OUString& rStr, sal_Int32 nPos ) const; - sal_Int16 getCharacterDirection( const OUString& rStr, sal_Int32 nPos ) const; - sal_Int16 getScript( const OUString& rStr, sal_Int32 nPos ) const; + css::i18n::DirectionProperty getCharacterDirection( const OUString& rStr, sal_Int32 nPos ) const; + css::i18n::UnicodeScript getScript( const OUString& rStr, sal_Int32 nPos ) const; sal_Int32 getCharacterType( const OUString& rStr, sal_Int32 nPos ) const; sal_Int32 getStringType( const OUString& rStr, sal_Int32 nPos, sal_Int32 nCount ) const; |