summaryrefslogtreecommitdiff
path: root/linguistic/source/lngsvcmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/lngsvcmgr.cxx')
-rw-r--r--linguistic/source/lngsvcmgr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 69e884257e33..ed415ca1e13a 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -710,10 +710,10 @@ void LngSvcMgr::UpdateAll()
void LngSvcMgr::Notify( const uno::Sequence< OUString > &rPropertyNames )
{
- static const OUStringLiteral aSpellCheckerList( u"ServiceManager/SpellCheckerList" );
- static const OUStringLiteral aGrammarCheckerList( u"ServiceManager/GrammarCheckerList" );
- static const OUStringLiteral aHyphenatorList( u"ServiceManager/HyphenatorList" );
- static const OUStringLiteral aThesaurusList( u"ServiceManager/ThesaurusList" );
+ static constexpr OUStringLiteral aSpellCheckerList( u"ServiceManager/SpellCheckerList" );
+ static constexpr OUStringLiteral aGrammarCheckerList( u"ServiceManager/GrammarCheckerList" );
+ static constexpr OUStringLiteral aHyphenatorList( u"ServiceManager/HyphenatorList" );
+ static constexpr OUStringLiteral aThesaurusList( u"ServiceManager/ThesaurusList" );
const uno::Sequence< OUString > aSpellCheckerListEntries( GetNodeNames( aSpellCheckerList ) );
const uno::Sequence< OUString > aGrammarCheckerListEntries( GetNodeNames( aGrammarCheckerList ) );