diff options
-rw-r--r-- | linguistic/source/convdiclist.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx index 442e5d070c67..e277346658c0 100644 --- a/linguistic/source/convdiclist.cxx +++ b/linguistic/source/convdiclist.cxx @@ -400,7 +400,7 @@ ConvDicNameContainer & ConvDicList::GetNameContainer() if (!pNameContainer) { pNameContainer = new ConvDicNameContainer; - pNameContainer->AddConvDics( GetDictionaryWriteablePath(), OUString(CONV_DIC_EXT) ); + pNameContainer->AddConvDics( GetDictionaryWriteablePath(), CONV_DIC_EXT ); xNameContainer = pNameContainer; // access list of text conversion dictionaries to activate diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 742544af131a..ee3506c8a042 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -1680,7 +1680,7 @@ void SAL_CALL if (bChanged) { pSpellDsp->SetServiceList( rLocale, rServiceImplNames ); - SaveCfgSvcs( OUString(SN_SPELLCHECKER) ); + SaveCfgSvcs( SN_SPELLCHECKER ); if (pListenerHelper && bChanged) pListenerHelper->AddLngSvcEvt( @@ -1697,7 +1697,7 @@ void SAL_CALL if (bChanged) { pGrammarDsp->SetServiceList( rLocale, rServiceImplNames ); - SaveCfgSvcs( OUString(SN_GRAMMARCHECKER) ); + SaveCfgSvcs( SN_GRAMMARCHECKER ); if (pListenerHelper && bChanged) pListenerHelper->AddLngSvcEvt( @@ -1713,7 +1713,7 @@ void SAL_CALL if (bChanged) { pHyphDsp->SetServiceList( rLocale, rServiceImplNames ); - SaveCfgSvcs( OUString(SN_HYPHENATOR) ); + SaveCfgSvcs( SN_HYPHENATOR ); if (pListenerHelper && bChanged) pListenerHelper->AddLngSvcEvt( @@ -1729,7 +1729,7 @@ void SAL_CALL if (bChanged) { pThesDsp->SetServiceList( rLocale, rServiceImplNames ); - SaveCfgSvcs( OUString(SN_THESAURUS) ); + SaveCfgSvcs( SN_THESAURUS ); } } } |