From 8398d5d9ac0f169ee7a045f6677919c79a5cbe0f Mon Sep 17 00:00:00 2001 From: Prashant Pandey Date: Wed, 10 Apr 2013 05:53:22 +0530 Subject: fdo#62096: Replaced some OUString 'compareTo' with '==' Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9 --- svl/source/fsstor/fsfactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx index ffe84f83be3c..06ca47b721a0 100644 --- a/svl/source/fsstor/fsfactory.cxx +++ b/svl/source/fsstor/fsfactory.cxx @@ -178,7 +178,7 @@ sal_Bool SAL_CALL FSStorageFactory::supportsService( const OUString& ServiceName 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; -- cgit