Lines 190-198
Link Here
|
190 |
if ( aTest.Exists() ) |
190 |
if ( aTest.Exists() ) |
191 |
{ |
191 |
{ |
192 |
// HACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
192 |
// HACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
193 |
if (( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "webinstall" ) || |
193 |
if (( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Equals("webinstall") ) || |
194 |
( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "portal" ) || |
194 |
( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Equals("portal") ) || |
195 |
( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "xulclient" ) || |
195 |
( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Equals("xulclient") ) || |
196 |
( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Search( "wdk_" ) == 0 )) |
196 |
( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ).Search( "wdk_" ) == 0 )) |
197 |
return ""; |
197 |
return ""; |
198 |
// end HACK !!!!!!!!!!!!!!!!!!!!!!!!! |
198 |
// end HACK !!!!!!!!!!!!!!!!!!!!!!!!! |
Lines 244-250
Link Here
|
244 |
const ByteString &rParameter, const ByteString &rIso ) |
244 |
const ByteString &rParameter, const ByteString &rIso ) |
245 |
/*****************************************************************************/ |
245 |
/*****************************************************************************/ |
246 |
{ |
246 |
{ |
247 |
if (( rIso == "noiso" ) || sIsoCode99.Len()) { |
247 |
if (( rIso.Equals("noiso") ) || sIsoCode99.Len()) { |
248 |
String sFull( rFileName, RTL_TEXTENCODING_ASCII_US ); |
248 |
String sFull( rFileName, RTL_TEXTENCODING_ASCII_US ); |
249 |
DirEntry aEntry( sFull ); |
249 |
DirEntry aEntry( sFull ); |
250 |
ByteString sFileName( aEntry.GetName(), RTL_TEXTENCODING_ASCII_US ); |
250 |
ByteString sFileName( aEntry.GetName(), RTL_TEXTENCODING_ASCII_US ); |
Lines 512-518
Link Here
|
512 |
ByteString sExtension( aEntry.GetExtension(), RTL_TEXTENCODING_ASCII_US ); |
512 |
ByteString sExtension( aEntry.GetExtension(), RTL_TEXTENCODING_ASCII_US ); |
513 |
ByteString sCandidate( ExeTable[ nIndex ][ 0 ] ); |
513 |
ByteString sCandidate( ExeTable[ nIndex ][ 0 ] ); |
514 |
|
514 |
|
515 |
while( !sCandidate.Equals ("NULL") && sCandidate != sExtension ) |
515 |
while( !sCandidate.Equals ("NULL") && !sCandidate.Equals(sExtension) ) |
516 |
sCandidate = ExeTable[ ++nIndex ][ 0 ]; |
516 |
sCandidate = ExeTable[ ++nIndex ][ 0 ]; |
517 |
|
517 |
|
518 |
ByteString sIso( ExeTable[ nIndex ][ 4 ] ); |
518 |
ByteString sIso( ExeTable[ nIndex ][ 4 ] ); |
Lines 597-603
Link Here
|
597 |
sFileName = sLine.GetToken( 0, '\t' ); |
597 |
sFileName = sLine.GetToken( 0, '\t' ); |
598 |
sFileName += "#"; |
598 |
sFileName += "#"; |
599 |
sFileName += sLine.GetToken( 1, '\t' ); |
599 |
sFileName += sLine.GetToken( 1, '\t' ); |
600 |
if ( sFileName.Len() && ( sOldFileName != sFileName )) { |
600 |
if ( sFileName.Len() && ( !sOldFileName.Equals(sFileName) )) { |
601 |
if ( aFile.IsOpen()) { |
601 |
if ( aFile.IsOpen()) { |
602 |
aFile.Close(); |
602 |
aFile.Close(); |
603 |
|
603 |
|