Lines 651-657
Link Here
|
651 |
|
651 |
|
652 |
int nProxyType = AnyConverter.toInt( xNameAccess.getByName( "ooInetProxyType" ) ); |
652 |
int nProxyType = AnyConverter.toInt( xNameAccess.getByName( "ooInetProxyType" ) ); |
653 |
if ( nProxyType == 0 ) |
653 |
if ( nProxyType == 0 ) |
654 |
aHostConfig.setProxy( "", 0 ); |
654 |
aHostConfig.setProxyHost(null); |
655 |
else |
655 |
else |
656 |
{ |
656 |
{ |
657 |
if ( nProxyType == 1 ) |
657 |
if ( nProxyType == 1 ) |
Lines 672-678
Link Here
|
672 |
String aNoProxyList = AnyConverter.toString( xNameAccess.getByName( "ooInetNoProxy" ) ); |
672 |
String aNoProxyList = AnyConverter.toString( xNameAccess.getByName( "ooInetNoProxy" ) ); |
673 |
String aProxyName = AnyConverter.toString( xNameAccess.getByName( aProxyNameProp ) ); |
673 |
String aProxyName = AnyConverter.toString( xNameAccess.getByName( aProxyNameProp ) ); |
674 |
|
674 |
|
675 |
int nProxyPort = AnyConverter.toInt( xNameAccess.getByName( aProxyPortProp ) ); |
675 |
int nProxyPort = 80; |
|
|
676 |
|
677 |
Object aPortNo = xNameAccess.getByName( aProxyPortProp ); |
678 |
if (!AnyConverter.isVoid(aPortNo)) |
679 |
nProxyPort = AnyConverter.toInt(aPortNo); |
676 |
|
680 |
|
677 |
if ( nProxyPort == -1 ) |
681 |
if ( nProxyPort == -1 ) |
678 |
nProxyPort = 80; |
682 |
nProxyPort = 80; |