summaryrefslogtreecommitdiffstats
path: root/dtrans/source/cnttype/mcnttfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/cnttype/mcnttfactory.cxx')
-rw-r--r--dtrans/source/cnttype/mcnttfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/cnttype/mcnttfactory.cxx b/dtrans/source/cnttype/mcnttfactory.cxx
index 86eb6179a3dd..ec43fcdbc5d6 100644
--- a/dtrans/source/cnttype/mcnttfactory.cxx
+++ b/dtrans/source/cnttype/mcnttfactory.cxx
@@ -87,7 +87,7 @@ sal_Bool SAL_CALL CMimeContentTypeFactory::supportsService( const OUString& Serv
Sequence < OUString > SupportedServicesNames = MimeContentTypeFactory_getSupportedServiceNames();
for ( sal_Int32 n = SupportedServicesNames.getLength(); n--; )
- if (SupportedServicesNames[n].compareTo(ServiceName) == 0)
+ if ( SupportedServicesNames[n] == ServiceName )
return sal_True;
return sal_False;