summaryrefslogtreecommitdiff
path: root/shell/source/backends/wininetbe/wininetbackend.cxx
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 19:49:53 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 20:03:42 +0200
commitd6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch)
treeb5a12df1fcae025715633469b75ab4c9b6f6d279 /shell/source/backends/wininetbe/wininetbackend.cxx
parent0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'shell/source/backends/wininetbe/wininetbackend.cxx')
-rw-r--r--shell/source/backends/wininetbe/wininetbackend.cxx24
1 files changed, 8 insertions, 16 deletions
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx
index fb14831dfdf0..7b0a9ed0b80a 100644
--- a/shell/source/backends/wininetbe/wininetbackend.cxx
+++ b/shell/source/backends/wininetbe/wininetbackend.cxx
@@ -317,36 +317,28 @@ css::uno::Any WinInetBackend::getPropertyValue(
css::beans::UnknownPropertyException, css::lang::WrappedTargetException,
css::uno::RuntimeException)
{
- if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetFTPProxyName")))
+ if ( PropertyName == "ooInetFTPProxyName" )
{
return css::uno::makeAny(valueFtpProxyName_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetFTPProxyPort")))
+ } else if ( PropertyName == "ooInetFTPProxyPort" )
{
return css::uno::makeAny(valueFtpProxyPort_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetHTTPProxyName")))
+ } else if ( PropertyName == "ooInetHTTPProxyName" )
{
return css::uno::makeAny(valueHttpProxyName_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetHTTPProxyPort")))
+ } else if ( PropertyName == "ooInetHTTPProxyPort" )
{
return css::uno::makeAny(valueHttpProxyPort_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetHTTPSProxyName")))
+ } else if ( PropertyName == "ooInetHTTPSProxyName" )
{
return css::uno::makeAny(valueHttpsProxyName_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetHTTPSProxyPort")))
+ } else if ( PropertyName == "ooInetHTTPSProxyPort" )
{
return css::uno::makeAny(valueHttpsProxyPort_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetNoProxy")))
+ } else if ( PropertyName == "ooInetNoProxy" )
{
return css::uno::makeAny(valueNoProxy_);
- } else if (PropertyName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("ooInetProxyType")))
+ } else if ( PropertyName == "ooInetProxyType" )
{
return css::uno::makeAny(valueProxyType_);
} else {