summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/component/registerservices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/component/registerservices.cxx')
-rw-r--r--xmlsecurity/source/component/registerservices.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/component/registerservices.cxx b/xmlsecurity/source/component/registerservices.cxx
index 674979b68c82..24de5116abc9 100644
--- a/xmlsecurity/source/component/registerservices.cxx
+++ b/xmlsecurity/source/component/registerservices.cxx
@@ -38,7 +38,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL xmlsecurity_component_getFactory( const sal_
//Decryptor
OUString implName = OUString::createFromAscii( pImplName );
- if ( pServiceManager && implName.equals( DocumentDigitalSignatures::GetImplementationName() ) )
+ if ( pServiceManager && implName == DocumentDigitalSignatures::GetImplementationName() )
{
// DocumentDigitalSignatures
xFactory = cppu::createSingleComponentFactory(
@@ -46,7 +46,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL xmlsecurity_component_getFactory( const sal_
OUString::createFromAscii( pImplName ),
DocumentDigitalSignatures::GetSupportedServiceNames() );
}
- else if ( pServiceManager && implName.equals( CertificateContainer::impl_getStaticImplementationName() ))
+ else if ( pServiceManager && implName == CertificateContainer::impl_getStaticImplementationName() )
{
// CertificateContainer
xFactory = cppu::createOneInstanceFactory(