diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-07 16:20:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-07 16:20:03 +0000 |
commit | d877941fc7bb690d0c5b132a914920cf65f8abb2 (patch) | |
tree | 6d6c609c822becc8b37cc64e6853735c1d81ea1f /sw | |
parent | a7db1c8606b3c47f0d349918b72a2585d9b2ad34 (diff) |
align GetScriptType argument type with the rest of the family
Change-Id: I67a66eb05deaecede3cd77e06075c2e98be8d001
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/scriptinfo.hxx | 4 |
1 files 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; |