summaryrefslogtreecommitdiff
path: root/unotools/source/misc/fontcvt.cxx
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-12 16:24:50 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-12 16:24:50 +0100
commit15e0ed81e377962c1f054d581e26d8038e50c73c (patch)
tree56b56c90dc5dd6cc24ce62dfddd4f589a2533aee /unotools/source/misc/fontcvt.cxx
parenta0602756a7bd259f6ee4e62161afe00298ba1d6c (diff)
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in unotools
Diffstat (limited to 'unotools/source/misc/fontcvt.cxx')
-rw-r--r--unotools/source/misc/fontcvt.cxx4
1 files changed, 2 insertions, 2 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;