summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:29 +0100
commit5adadc599ff2b80f24be93196fc473d0e6682fe7 (patch)
treebcef2dda77f0a644ca6adf1fb052d2754bb1b0e7 /linguistic
parent77ce12c6f7a7d4516f7cd19b75cbaa9eb89313d9 (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I068f052aff5d26c36c9a15dc66e1d6c00321005e
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdiclist.cxx2
-rw-r--r--linguistic/source/lngsvcmgr.cxx8
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 );
}
}
}