From d877941fc7bb690d0c5b132a914920cf65f8abb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 7 Nov 2013 16:20:03 +0000 Subject: [PATCH] align GetScriptType argument type with the rest of the family Change-Id: I67a66eb05deaecede3cd77e06075c2e98be8d001 --- sw/source/core/inc/scriptinfo.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx index b824e072fcdc..2d068626eec2 100644 --- a/sw/source/core/inc/scriptinfo.hxx +++ b/sw/source/core/inc/scriptinfo.hxx @@ -105,7 +105,7 @@ public: // array operations, nCnt refers to array position inline size_t CountScriptChg() const; inline xub_StrLen GetScriptChg( const size_t nCnt ) const; - inline sal_uInt8 GetScriptType( const sal_uInt16 nCnt ) const; + inline sal_uInt8 GetScriptType( const size_t nCnt ) const; inline size_t CountDirChg() const; inline xub_StrLen GetDirChg( const size_t nCnt ) const; @@ -328,7 +328,7 @@ inline xub_StrLen SwScriptInfo::GetScriptChg( const size_t nCnt ) const OSL_ENSURE( nCnt < aScriptChanges.size(),"No ScriptChange today!"); return aScriptChanges[nCnt].position; } -inline sal_uInt8 SwScriptInfo::GetScriptType( const xub_StrLen nCnt ) const +inline sal_uInt8 SwScriptInfo::GetScriptType( const size_t nCnt ) const { OSL_ENSURE( nCnt < aScriptChanges.size(),"No ScriptType today!"); return aScriptChanges[nCnt].type;