diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-13 09:32:03 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-13 09:32:03 +0100 |
commit | d1b478f18dee26565d638054f54fabd5ac87c346 (patch) | |
tree | 3bc243bece2356bf97450ab0eeaf81fd3f5e6ce5 /idl/source/cmptools | |
parent | 7afd69a40182db58aef59502f78705ffaffd19c6 (diff) |
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in idl
Diffstat (limited to 'idl/source/cmptools')
-rwxr-xr-x | idl/source/cmptools/char.cxx | 4 | ||||
-rwxr-xr-x | idl/source/cmptools/hash.cxx | 6 | ||||
-rwxr-xr-x | idl/source/cmptools/lex.cxx | 8 |
3 files changed, 9 insertions, 9 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; diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx index c212289823ed..f919a1074efa 100755 --- a/idl/source/cmptools/hash.cxx +++ b/idl/source/cmptools/hash.cxx @@ -34,7 +34,7 @@ #include <stdio.h> #include <ctype.h> -// Programmabhngige Includes. +// Programmabh�ngige Includes. #include <hash.hxx> #include <tools/debug.hxx> @@ -73,8 +73,8 @@ SvHashTable::SvHashTable( sal_uInt32 nMaxEntries ) SvHashTable::~SvHashTable() { #ifdef DOS_NIE - printf( "Maximum: %ld, Fllung: %ld\n", (sal_uIntPtr)nMax, (sal_uIntPtr)nFill ); - printf( "Anfragen: %ld, Versuche: %ld", (sal_uIntPtr)lAsk, (sal_uIntPtr)lTry ); + printf( "Maximum: %ld, F�llung: %ld\n", (sal_uLong)nMax, (sal_uLong)nFill ); + printf( "Anfragen: %ld, Versuche: %ld", (sal_uLong)lAsk, (sal_uLong)lTry ); if( lTry != 0 ) printf( ", V/E = %ld\n", lTry / lAsk ); #endif diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 98c835a95065..24991489841c 100755 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -284,9 +284,9 @@ int SvTokenStream::GetNextChar() |* |* Beschreibung *************************************************************************/ -sal_uIntPtr SvTokenStream::GetNumber() +sal_uLong SvTokenStream::GetNumber() { - sal_uIntPtr l = 0; + sal_uLong l = 0; short nLog = 10; if( '0' == c ) @@ -345,8 +345,8 @@ sal_Bool SvTokenStream::MakeToken( SvToken & rToken ) } while( 0 == c && !IsEof() && ( SVSTREAM_OK == rInStream.GetError() ) ); - sal_uIntPtr nLastLine = nLine; - sal_uIntPtr nLastColumn = nColumn; + sal_uLong nLastLine = nLine; + sal_uLong nLastColumn = nColumn; // Kommentar if( '/' == c ) { |