diff options
Diffstat (limited to 'linguistic/source/hyphdsp.cxx')
-rw-r--r-- | linguistic/source/hyphdsp.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index 65bdadfc5f59..d745b10f4d4e 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -60,7 +60,6 @@ using namespace linguistic; using ::rtl::OUString; using ::rtl::OUStringBuffer; -/////////////////////////////////////////////////////////////////////////// HyphenatorDispatcher::HyphenatorDispatcher( LngSvcMgr &rLngSvcMgr ) : rMgr (rLngSvcMgr) @@ -341,7 +340,6 @@ Reference< XHyphenatedWord > SAL_CALL else if (pEntry->nLastTriedSvcIndex < nLen - 1) // instantiate services and try it { -// const OUString *pImplNames = pEntry->aSvcImplNames.getConstArray(); Reference< XHyphenator > *pRef = pEntry->aSvcRefs.getArray(); Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); @@ -350,9 +348,6 @@ Reference< XHyphenatedWord > SAL_CALL // build service initialization argument Sequence< Any > aArgs(2); aArgs.getArray()[0] <<= GetPropSet(); - //! The dispatcher searches the dictionary-list - //! thus the service needs not to now about it - //aArgs.getArray()[1] <<= GetDicList(); // create specific service via it's implementation name try @@ -480,7 +475,6 @@ Reference< XHyphenatedWord > SAL_CALL else if (pEntry->nLastTriedSvcIndex < nLen - 1) // instantiate services and try it { -// const OUString *pImplNames = pEntry->aSvcImplNames.getConstArray(); Reference< XHyphenator > *pRef = pEntry->aSvcRefs.getArray(); Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); @@ -489,9 +483,6 @@ Reference< XHyphenatedWord > SAL_CALL // build service initialization argument Sequence< Any > aArgs(2); aArgs.getArray()[0] <<= GetPropSet(); - //! The dispatcher searches the dictionary-list - //! thus the service needs not to now about it - //aArgs.getArray()[1] <<= GetDicList(); // create specific service via it's implementation name try @@ -614,7 +605,6 @@ Reference< XPossibleHyphens > SAL_CALL else if (pEntry->nLastTriedSvcIndex < nLen - 1) // instantiate services and try it { -// const OUString *pImplNames = pEntry->aSvcImplNames.getConstArray(); Reference< XHyphenator > *pRef = pEntry->aSvcRefs.getArray(); Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); @@ -623,9 +613,6 @@ Reference< XPossibleHyphens > SAL_CALL // build service initialization argument Sequence< Any > aArgs(2); aArgs.getArray()[0] <<= GetPropSet(); - //! The dispatcher searches the dictionary-list - //! thus the service needs not to now about it - //aArgs.getArray()[1] <<= GetDicList(); // create specific service via it's implementation name try @@ -687,8 +674,6 @@ void HyphenatorDispatcher::SetServiceList( const Locale &rLocale, { // modify/add entry LangSvcEntries_Hyph *pEntry = aSvcMap[ nLanguage ].get(); - // only one hypenator can be in use for a language... - //const OUString &rSvcImplName = rSvcImplNames.getConstArray()[0]; if (pEntry) { pEntry->Clear(); @@ -735,6 +720,5 @@ LinguDispatcher::DspType HyphenatorDispatcher::GetDspType() const } -/////////////////////////////////////////////////////////////////////////// /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |