Kaydet (Commit) 613d5363 authored tarafından Alexander Wilms's avatar Alexander Wilms Kaydeden (comit) Caolán McNamara

Remove visual noise from linguistic

Change-Id: I9ed8b9cf844d9e5909cc87dac1438ec7a54613b8
Reviewed-on: https://gerrit.libreoffice.org/8280Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst cd35fd41
...@@ -456,9 +456,9 @@ sal_uLong DictionaryNeo::saveEntries(const OUString &rURL) ...@@ -456,9 +456,9 @@ sal_uLong DictionaryNeo::saveEntries(const OUString &rURL)
sal_uLong nErr = sal::static_int_cast< sal_uLong >(-1); sal_uLong nErr = sal::static_int_cast< sal_uLong >(-1);
SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) ); SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) );
//
// Always write as the latest version, i.e. DIC_VERSION_7 // Always write as the latest version, i.e. DIC_VERSION_7
//
rtl_TextEncoding eEnc = RTL_TEXTENCODING_UTF8; rtl_TextEncoding eEnc = RTL_TEXTENCODING_UTF8;
pStream->WriteLine(OString(pVerOOo7)); pStream->WriteLine(OString(pVerOOo7));
if (0 != (nErr = pStream->GetError())) if (0 != (nErr = pStream->GetError()))
......
...@@ -735,9 +735,9 @@ void LngSvcMgr::UpdateAll() ...@@ -735,9 +735,9 @@ void LngSvcMgr::UpdateAll()
OUString aLastFoundList( OUString::createFromAscii( apLastFoundLists[k] ) ); OUString aLastFoundList( OUString::createFromAscii( apLastFoundLists[k] ) );
sal_Int32 i; sal_Int32 i;
//
// remove configured but not available language/services entries // remove configured but not available language/services entries
//
Sequence< OUString > aNodeNames( aCfg.GetNodeNames( aActiveList ) ); // list of configured locales Sequence< OUString > aNodeNames( aCfg.GetNodeNames( aActiveList ) ); // list of configured locales
sal_Int32 nNodeNames = aNodeNames.getLength(); sal_Int32 nNodeNames = aNodeNames.getLength();
const OUString *pNodeName = aNodeNames.getConstArray(); const OUString *pNodeName = aNodeNames.getConstArray();
...@@ -752,11 +752,11 @@ void LngSvcMgr::UpdateAll() ...@@ -752,11 +752,11 @@ void LngSvcMgr::UpdateAll()
aCurSvcs[k][ pNodeName[i] ] = aCfgSvcs; aCurSvcs[k][ pNodeName[i] ] = aCfgSvcs;
} }
//
// add new available language/service entries // add new available language/service entries
// and // and
// set last found services to currently available ones // set last found services to currently available ones
//
Sequence< Locale > aAvailLocales( getAvailableLocales(aService) ); Sequence< Locale > aAvailLocales( getAvailableLocales(aService) );
sal_Int32 nAvailLocales = aAvailLocales.getLength(); sal_Int32 nAvailLocales = aAvailLocales.getLength();
const Locale *pAvailLocale = aAvailLocales.getConstArray(); const Locale *pAvailLocale = aAvailLocales.getConstArray();
...@@ -782,9 +782,9 @@ void LngSvcMgr::UpdateAll() ...@@ -782,9 +782,9 @@ void LngSvcMgr::UpdateAll()
} }
} }
//
// write new data back to configuration // write new data back to configuration
//
for (int k = 0; k < nNumServices; ++k) for (int k = 0; k < nNumServices; ++k)
{ {
for (int i = 0; i < 2; ++i) for (int i = 0; i < 2; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment