diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 14:09:04 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-08 19:24:00 +0200 |
commit | e4fb171d3ad15ae9abbc93d9db956674498c9dd5 (patch) | |
tree | 6d297c3054a7de5a8baee08db9237d0f01fffb52 /shell | |
parent | OUString( whatever ? "foo" : "bar" ) does not work with MSVC (diff) | |
download | core-e4fb171d3ad15ae9abbc93d9db956674498c9dd5.tar.gz core-e4fb171d3ad15ae9abbc93d9db956674498c9dd5.zip |
Replaced a few equal calls with ==
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/gconfbe/gconfaccess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx index 3d9542b1f23f..9771b5d82824 100644 --- a/shell/source/backends/gconfbe/gconfaccess.cxx +++ b/shell/source/backends/gconfbe/gconfaccess.cxx @@ -272,9 +272,9 @@ uno::Any translateToOOo( const ConfigurationValue &rValue, GConfValue *pGconfVal uno::Any aOriginalValue = makeAnyOfGconfValue( pGconfValue ); aOriginalValue >>= aProxyMode; - if( aProxyMode.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("manual")) ) ) + if( aProxyMode == "manual" ) return uno::makeAny( (sal_Int32) 1 ); - else if( aProxyMode.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("none")) ) ) + else if( aProxyMode == "none" ) return uno::makeAny( (sal_Int32) 0 ); } break; |