From e4fb171d3ad15ae9abbc93d9db956674498c9dd5 Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 6 Apr 2012 14:09:04 +0200 Subject: Replaced a few equal calls with == --- stoc/source/javavm/javavm.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'stoc') diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx index a1242463a8b8..cc73ee1b2664 100644 --- a/stoc/source/javavm/javavm.cxx +++ b/stoc/source/javavm/javavm.cxx @@ -1257,16 +1257,8 @@ void SAL_CALL JavaVirtualMachine::elementReplaced( // remove the property if it does not have a value ( user left the dialog field empty) // or if the port is set to 0 aPropertyValue= aPropertyValue.trim(); - if( - aPropertyValue.isEmpty() || - ( - ( - aPropertyName.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ftp.proxyPort"))) || - aPropertyName.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("http.proxyPort"))) /*|| - aPropertyName.equals( OUString( RTL_CONSTASCII_USTRINGPARAM("socksProxyPort")))*/ - ) && - aPropertyValue.equals(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("0"))) - ) + if( aPropertyValue.isEmpty() || + ( ( aPropertyName == "ftp.proxyPort" || aPropertyName == "http.proxyPort" /*|| aPropertyName == "socksProxyPort"*/ ) && aPropertyValue == "0" ) ) { // call java.lang.System.getProperties -- cgit