diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngreg.cxx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/linguistic/source/lngreg.cxx b/linguistic/source/lngreg.cxx index e5388d4c4bb7..073d5510da73 100644 --- a/linguistic/source/lngreg.cxx +++ b/linguistic/source/lngreg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lngreg.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-11-17 12:37:38 $ + * last change: $Author: obo $ $Date: 2004-04-27 16:08:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -92,6 +92,11 @@ extern sal_Bool SAL_CALL LinguProps_writeInfo XRegistryKey * pRegistryKey ); +extern sal_Bool SAL_CALL ConvDicList_writeInfo +( + void * /*pServiceManager*/, XRegistryKey * pRegistryKey +); + extern void * SAL_CALL LngSvcMgr_getFactory ( const sal_Char * pImplName, @@ -113,6 +118,13 @@ void * SAL_CALL LinguProps_getFactory void * ); +extern void * SAL_CALL ConvDicList_getFactory +( + const sal_Char * pImplName, + XMultiServiceFactory * pServiceManager, + void * +); + //////////////////////////////////////// // definition of the two functions that are used to provide the services // @@ -131,6 +143,8 @@ sal_Bool SAL_CALL component_writeInfo bRet = LinguProps_writeInfo( pServiceManager, pRegistryKey ); if(bRet) bRet = DicList_writeInfo( pServiceManager, pRegistryKey ); + if(bRet) + bRet = ConvDicList_writeInfo( pServiceManager, pRegistryKey ); return bRet; } @@ -161,6 +175,12 @@ void * SAL_CALL component_getFactory( reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), pRegistryKey ); + if(!pRet) + pRet = ConvDicList_getFactory( + pImplName, + reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + pRegistryKey ); + return pRet; } } |