Index: transex3/source/localize.cxx =================================================================== RCS file: /cvs/oo/l10n/transex3/source/localize.cxx,v retrieving revision 1.21 diff -u -r1.21 localize.cxx --- transex3/source/localize.cxx 2001/12/17 11:12:25 1.21 +++ transex3/source/localize.cxx 2002/02/27 22:55:23 @@ -190,9 +190,9 @@ if ( aTest.Exists() ) { // HACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!! - if (( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "webinstall" ) || - ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "portal" ) || - ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "xulclient" ) || + if (( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Equals("webinstall") ) || + ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Equals("portal") ) || + ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Equals("xulclient") ) || ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Search( "wdk_" ) == 0 )) return ""; // end HACK !!!!!!!!!!!!!!!!!!!!!!!!! @@ -244,7 +244,7 @@ const ByteString &rParameter, const ByteString &rIso ) /*****************************************************************************/ { - if (( rIso == "noiso" ) || sIsoCode99.Len()) { + if (( rIso.Equals("noiso") ) || sIsoCode99.Len()) { String sFull( rFileName, RTL_TEXTENCODING_ASCII_US ); DirEntry aEntry( sFull ); ByteString sFileName( aEntry.GetName(), RTL_TEXTENCODING_ASCII_US ); @@ -512,7 +512,7 @@ ByteString sExtension( aEntry.GetExtension(), RTL_TEXTENCODING_ASCII_US ); ByteString sCandidate( ExeTable[ nIndex ][ 0 ] ); - while( !sCandidate.Equals ("NULL") && sCandidate != sExtension ) + while( !sCandidate.Equals ("NULL") && !sCandidate.Equals(sExtension) ) sCandidate = ExeTable[ ++nIndex ][ 0 ]; ByteString sIso( ExeTable[ nIndex ][ 4 ] ); @@ -597,7 +597,7 @@ sFileName = sLine.GetToken( 0, '\t' ); sFileName += "#"; sFileName += sLine.GetToken( 1, '\t' ); - if ( sFileName.Len() && ( sOldFileName != sFileName )) { + if ( sFileName.Len() && ( !sOldFileName.Equals(sFileName) )) { if ( aFile.IsOpen()) { aFile.Close();