diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-12 16:24:50 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-12 16:24:50 +0100 |
commit | 15e0ed81e377962c1f054d581e26d8038e50c73c (patch) | |
tree | 56b56c90dc5dd6cc24ce62dfddd4f589a2533aee /unotools/source/misc | |
parent | a0602756a7bd259f6ee4e62161afe00298ba1d6c (diff) |
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in unotools
Diffstat (limited to 'unotools/source/misc')
-rw-r--r-- | unotools/source/misc/fontcvt.cxx | 4 | ||||
-rw-r--r-- | unotools/source/misc/fontdefs.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx index 65401ffe4af8..5f5011d9d863 100644 --- a/unotools/source/misc/fontcvt.cxx +++ b/unotools/source/misc/fontcvt.cxx @@ -1376,7 +1376,7 @@ sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const // from an traditional symbol font (i.e. U+F020..U+F0FF) void ConvertChar::RecodeString( String& rStr, xub_StrLen nIndex, xub_StrLen nLen ) const { - sal_uIntPtr nLastIndex = (sal_uIntPtr)nIndex + nLen; + sal_uLong nLastIndex = (sal_uLong)nIndex + nLen; if( nLastIndex > rStr.Len() ) nLastIndex = rStr.Len(); @@ -1460,7 +1460,7 @@ const ConvertChar* ConvertChar::GetRecodeData( const String& rOrgFontName, const //======================================================================= FontToSubsFontConverter CreateFontToSubsFontConverter( - const String& rOrgName, sal_uIntPtr nFlags ) + const String& rOrgName, sal_uLong nFlags ) { const ConvertChar* pCvt = NULL; diff --git a/unotools/source/misc/fontdefs.cxx b/unotools/source/misc/fontdefs.cxx index a929fa176e42..c93175ed1c73 100644 --- a/unotools/source/misc/fontdefs.cxx +++ b/unotools/source/misc/fontdefs.cxx @@ -519,7 +519,7 @@ void AddTokenFontName( String& rName, const String& rNewToken ) // ======================================================================= -String GetSubsFontName( const String& rName, sal_uIntPtr nFlags ) +String GetSubsFontName( const String& rName, sal_uLong nFlags ) { String aName; |