summaryrefslogtreecommitdiff
path: root/dtrans/source/generic/generic_clipboard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/generic/generic_clipboard.cxx')
-rw-r--r--dtrans/source/generic/generic_clipboard.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/generic/generic_clipboard.cxx b/dtrans/source/generic/generic_clipboard.cxx
index 4da2b1bfa07e..88621630ccc2 100644
--- a/dtrans/source/generic/generic_clipboard.cxx
+++ b/dtrans/source/generic/generic_clipboard.cxx
@@ -75,7 +75,7 @@ sal_Bool SAL_CALL GenericClipboard::supportsService( const OUString& ServiceName
Sequence < OUString > SupportedServicesNames = GenericClipboard_getSupportedServiceNames();
for ( sal_Int32 n = SupportedServicesNames.getLength(); n--; )
- if (SupportedServicesNames[n].compareTo(ServiceName) == 0)
+ if ( SupportedServicesNames[n] == ServiceName )
return sal_True;
return sal_False;