diff options
Diffstat (limited to 'include/i18nutil')
-rw-r--r-- | include/i18nutil/scripttypedetector.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/i18nutil/scripttypedetector.hxx b/include/i18nutil/scripttypedetector.hxx index 8be9866abeec..fd098f9e7f32 100644 --- a/include/i18nutil/scripttypedetector.hxx +++ b/include/i18nutil/scripttypedetector.hxx @@ -27,10 +27,10 @@ class I18NUTIL_DLLPUBLIC ScriptTypeDetector public: static sal_Int32 beginOfScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ); static sal_Int32 endOfScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ); - static sal_Int16 getScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 defaultScriptDirection ); + static sal_Int16 getScriptDirection( std::u16string_view Text, sal_Int32 nPos, sal_Int16 defaultScriptDirection ); static sal_Int32 beginOfCTLScriptType( const OUString& Text, sal_Int32 nPos ); static sal_Int32 endOfCTLScriptType( const OUString& Text, sal_Int32 nPos ); - static sal_Int16 getCTLScriptType( const OUString& Text, sal_Int32 nPos ); + static sal_Int16 getCTLScriptType(std::u16string_view Text, sal_Int32 nPos ); }; #endif |