summaryrefslogtreecommitdiff
path: root/linguistic/workben/sspellimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/workben/sspellimp.cxx')
-rw-r--r--linguistic/workben/sspellimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx
index ff8837ae97e8..77c8820d3634 100644
--- a/linguistic/workben/sspellimp.cxx
+++ b/linguistic/workben/sspellimp.cxx
@@ -466,7 +466,7 @@ void * SAL_CALL SpellChecker_getFactory( const sal_Char * pImplName,
XMultiServiceFactory * pServiceManager, void * )
{
void * pRet = 0;
- if ( !SpellChecker::getImplementationName_Static().compareToAscii( pImplName ) )
+ if ( SpellChecker::getImplementationName_Static().equalsAscii( pImplName ) )
{
Reference< XSingleServiceFactory > xFactory =
cppu::createOneInstanceFactory(