diff options
Diffstat (limited to 'vcl/unx/generic/dtrans/X11_clipboard.cxx')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_clipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx index 82f1ce9ee34c..6325e19e7f1e 100644 --- a/vcl/unx/generic/dtrans/X11_clipboard.cxx +++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx @@ -259,7 +259,7 @@ sal_Bool SAL_CALL X11Clipboard::supportsService( const OUString& ServiceName ) Sequence < OUString > SupportedServicesNames = X11Clipboard_getSupportedServiceNames(); for ( sal_Int32 n = SupportedServicesNames.getLength(); n--; ) - if (SupportedServicesNames[n].compareTo(ServiceName) == 0) + if (SupportedServicesNames[n] == ServiceName) return sal_True; return sal_False; |