summaryrefslogtreecommitdiffstats
path: root/svtools/source/hatchwindow/documentcloser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/hatchwindow/documentcloser.cxx')
-rw-r--r--svtools/source/hatchwindow/documentcloser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx
index 35233046d4d8..c35fd3f608cd 100644
--- a/svtools/source/hatchwindow/documentcloser.cxx
+++ b/svtools/source/hatchwindow/documentcloser.cxx
@@ -235,7 +235,7 @@ OUString SAL_CALL ODocumentCloser::getImplementationName( )
uno::Sequence< OUString > aSeq = impl_staticGetSupportedServiceNames();
for ( sal_Int32 nInd = 0; nInd < aSeq.getLength(); nInd++ )
- if ( ServiceName.compareTo( aSeq[nInd] ) == 0 )
+ if ( ServiceName == aSeq[nInd] )
return sal_True;
return sal_False;