summaryrefslogtreecommitdiff
path: root/svtools/source/hatchwindow/hatchwindowfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/hatchwindow/hatchwindowfactory.cxx')
-rw-r--r--svtools/source/hatchwindow/hatchwindowfactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/hatchwindow/hatchwindowfactory.cxx b/svtools/source/hatchwindow/hatchwindowfactory.cxx
index b4bb86298104..7071fd408016 100644
--- a/svtools/source/hatchwindow/hatchwindowfactory.cxx
+++ b/svtools/source/hatchwindow/hatchwindowfactory.cxx
@@ -95,7 +95,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL hatchwindowfactory_component_getFactory (
if (pServiceManager)
{
uno::Reference< lang::XSingleServiceFactory > xFactory;
- if (OHatchWindowFactory::impl_staticGetImplementationName().compareToAscii (pImplementationName ) == 0)
+ if (OHatchWindowFactory::impl_staticGetImplementationName().equalsAscii(pImplementationName ))
{
xFactory = cppu::createOneInstanceFactory(
reinterpret_cast< lang::XMultiServiceFactory* >(pServiceManager),
@@ -103,7 +103,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL hatchwindowfactory_component_getFactory (
OHatchWindowFactory::impl_staticCreateSelfInstance,
OHatchWindowFactory::impl_staticGetSupportedServiceNames());
}
- else if (ODocumentCloser::impl_staticGetImplementationName().compareToAscii (pImplementationName ) == 0)
+ else if (ODocumentCloser::impl_staticGetImplementationName().equalsAscii(pImplementationName ))
{
xFactory = cppu::createSingleFactory(
reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),