summaryrefslogtreecommitdiff
path: root/idl/source/cmptools/char.cxx
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-13 09:32:03 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-13 09:32:03 +0100
commitd1b478f18dee26565d638054f54fabd5ac87c346 (patch)
tree3bc243bece2356bf97450ab0eeaf81fd3f5e6ce5 /idl/source/cmptools/char.cxx
parent7afd69a40182db58aef59502f78705ffaffd19c6 (diff)
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in idl
Diffstat (limited to 'idl/source/cmptools/char.cxx')
-rwxr-xr-xidl/source/cmptools/char.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/cmptools/char.cxx b/idl/source/cmptools/char.cxx
index 45dda7d68fe7..6e0049240bbb 100755
--- a/idl/source/cmptools/char.cxx
+++ b/idl/source/cmptools/char.cxx
@@ -88,7 +88,7 @@ char * SvChar::GetTable( CharSet nSource , CharSet nDest )
pCharTable = new Table();
sal_uInt8 * pSet;
- pSet = (sal_uInt8 *)pCharTable->Get( ((sal_uIntPtr)nSource << 16) + (sal_uIntPtr)nDest );
+ pSet = (sal_uInt8 *)pCharTable->Get( ((sal_uLong)nSource << 16) + (sal_uLong)nDest );
if( !pSet )
{
@@ -100,7 +100,7 @@ char * SvChar::GetTable( CharSet nSource , CharSet nDest )
if( c )
pSet[ i ] = (sal_uInt8)c;
}
- pCharTable->Insert( ((sal_uIntPtr)nSource << 16) + (sal_uIntPtr)nDest, pSet );
+ pCharTable->Insert( ((sal_uLong)nSource << 16) + (sal_uLong)nDest, pSet );
}
return (char *)pSet;