diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 19:17:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 09:14:49 -0600 |
commit | 613d53637eb6d84d48b379efacc469659634d669 (patch) | |
tree | de6ad15e77bb8535a6c84fc0f1969929bd282320 /linguistic/source/lngsvcmgr.cxx | |
parent | cd35fd41df314d0176ae1da4a67e6a7d978f3cf2 (diff) |
Remove visual noise from linguistic
Change-Id: I9ed8b9cf844d9e5909cc87dac1438ec7a54613b8
Reviewed-on: https://gerrit.libreoffice.org/8280
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'linguistic/source/lngsvcmgr.cxx')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 104a4a07a478..6b1579679659 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -735,9 +735,9 @@ void LngSvcMgr::UpdateAll() OUString aLastFoundList( OUString::createFromAscii( apLastFoundLists[k] ) ); sal_Int32 i; - // + // remove configured but not available language/services entries - // + Sequence< OUString > aNodeNames( aCfg.GetNodeNames( aActiveList ) ); // list of configured locales sal_Int32 nNodeNames = aNodeNames.getLength(); const OUString *pNodeName = aNodeNames.getConstArray(); @@ -752,11 +752,11 @@ void LngSvcMgr::UpdateAll() aCurSvcs[k][ pNodeName[i] ] = aCfgSvcs; } - // + // add new available language/service entries // and // set last found services to currently available ones - // + Sequence< Locale > aAvailLocales( getAvailableLocales(aService) ); sal_Int32 nAvailLocales = aAvailLocales.getLength(); const Locale *pAvailLocale = aAvailLocales.getConstArray(); @@ -782,9 +782,9 @@ void LngSvcMgr::UpdateAll() } } - // + // write new data back to configuration - // + for (int k = 0; k < nNumServices; ++k) { for (int i = 0; i < 2; ++i) |