summaryrefslogtreecommitdiff
path: root/shell/source/backends/kde4be/kde4access.cxx
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 15:37:46 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 20:03:42 +0200
commit27cea710fd1e4e8887bcb95e1d25a53d9eae9f22 (patch)
tree008d7618c1ac152dca698a9ad2d791db0afecd58 /shell/source/backends/kde4be/kde4access.cxx
parent99268dbe1fc25bc2d04eefa1a9f7e2cf7b398065 (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
Diffstat (limited to 'shell/source/backends/kde4be/kde4access.cxx')
-rw-r--r--shell/source/backends/kde4be/kde4access.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/backends/kde4be/kde4access.cxx b/shell/source/backends/kde4be/kde4access.cxx
index 60dfa57813f0..e4e116456efc 100644
--- a/shell/source/backends/kde4be/kde4access.cxx
+++ b/shell/source/backends/kde4be/kde4access.cxx
@@ -57,7 +57,7 @@ namespace uno = css::uno ;
}
css::beans::Optional< css::uno::Any > getValue(rtl::OUString const & id) {
- if (id.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ExternalMailer"))) {
+ if ( id == "ExternalMailer" ) {
KEMailSettings aEmailSettings;
QString aClientProgram;
::rtl::OUString sClientProgram;
@@ -273,7 +273,7 @@ css::beans::Optional< css::uno::Any > getValue(rtl::OUString const & id) {
return css::beans::Optional< css::uno::Any >(
true, uno::makeAny( nPort ) );
}
- } else if (id.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ooInetNoProxy"))) {
+ } else if ( id == "ooInetNoProxy" ) {
QString aNoProxyFor;
switch ( KProtocolManager::proxyType() )
{
@@ -295,7 +295,7 @@ css::beans::Optional< css::uno::Any > getValue(rtl::OUString const & id) {
return css::beans::Optional< css::uno::Any >(
true, uno::makeAny( sNoProxyFor ) );
}
- } else if (id.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ooInetProxyType"))) {
+ } else if ( id == "ooInetProxyType" ) {
int nProxyType;
switch ( KProtocolManager::proxyType() )
{