[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Thu Nov 7 17:34:36 CET 2013


 sw/source/core/inc/scriptinfo.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d877941fc7bb690d0c5b132a914920cf65f8abb2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 7 16:20:03 2013 +0000

    align GetScriptType argument type with the rest of the family
    
    Change-Id: I67a66eb05deaecede3cd77e06075c2e98be8d001

diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index b824e07..2d06862 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;


More information about the Libreoffice-commits mailing list