summaryrefslogtreecommitdiff
path: root/shell/source/win32/simplemail/smplmailsuppl.cxx
diff options
context:
space:
mode:
authorPrashant Pandey <prashant3.yishu@gmail.com>2013-04-10 05:53:22 +0530
committerMiklos Vajna <vmiklos@suse.cz>2013-04-10 10:09:56 +0200
commit8398d5d9ac0f169ee7a045f6677919c79a5cbe0f (patch)
tree17eeb98c2bc3b84e02afb45da7fe1902edba1369 /shell/source/win32/simplemail/smplmailsuppl.cxx
parenta6475acf4522e8a20ec3fcd200664d9e6cd22a0b (diff)
fdo#62096: Replaced some OUString 'compareTo' with '=='
Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9
Diffstat (limited to 'shell/source/win32/simplemail/smplmailsuppl.cxx')
-rw-r--r--shell/source/win32/simplemail/smplmailsuppl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx
index 76ba6c0dabc4..610699459822 100644
--- a/shell/source/win32/simplemail/smplmailsuppl.cxx
+++ b/shell/source/win32/simplemail/smplmailsuppl.cxx
@@ -82,7 +82,7 @@ sal_Bool SAL_CALL CSmplMailSuppl::supportsService(const OUString& ServiceName)
Sequence <OUString> SupportedServicesNames = Component_getSupportedServiceNames();
for (sal_Int32 n = SupportedServicesNames.getLength(); n--;)
- if (SupportedServicesNames[n].compareTo(ServiceName) == 0)
+ if ( SupportedServicesNames[n] == ServiceName )
return sal_True;
return sal_False;