align GetScriptType argument type with the rest of the family

Change-Id: I67a66eb05deaecede3cd77e06075c2e98be8d001
This commit is contained in:
Caolán McNamara
2013-11-07 16:20:03 +00:00
parent a7db1c8606
commit d877941fc7

View File

@@ -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;