ALT Linux Bugzilla
– Attachment 4305 Details for
Bug 23118
Неочевидный (или даже ошибочный) выбор словаря проверки орфографии
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Реализует приоритет ru_RU.dic (альтернатива) перед остальными словарями
openoffice.org-3.2.0-alt-spelldict_select.patch (text/plain), 1.11 KB, created by
Sergey Kurakin
on 2010-03-14 11:09:57 MSK
(
hide
)
Description:
Реализует приоритет ru_RU.dic (альтернатива) перед остальными словарями
Filename:
MIME Type:
Creator:
Sergey Kurakin
Created:
2010-03-14 11:09:57 MSK
Size:
1.11 KB
patch
obsolete
>diff -Naurb OOO320_m12.orig/lingucomponent/source/lingutil/lingutil.cxx OOO320_m12/lingucomponent/source/lingutil/lingutil.cxx >--- OOO320_m12.orig/lingucomponent/source/lingutil/lingutil.cxx 2010-02-02 14:49:41.000000000 +0300 >+++ OOO320_m12/lingucomponent/source/lingutil/lingutil.cxx 2010-03-10 21:13:58.000000000 +0300 >@@ -173,6 +173,8 @@ > { > osl::DirectoryItem aItem; > osl::FileStatus aFileStatus(FileStatusMask_FileURL); >+ >+ for (sal_Int32 nPass = 0; nPass < 2; nPass++) { > while (aSystemDicts.getNextItem(aItem) == osl::FileBase::E_None) > { > aItem.getFileStatus(aFileStatus); >@@ -191,6 +193,9 @@ > if (nIndex != -1) > sRegion = sChunk.copy( nIndex, sChunk.getLength() - nIndex ); > >+ if (nPass == 0 && sRegion.getLength() > 2) >+ continue; >+ > // Thus we first get the language of the dictionary > LanguageType nLang = MsLangId::convertIsoNamesToLanguage( > sLang, sRegion ); >@@ -212,6 +217,7 @@ > } > } > } >+ } > } > > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23118
: 4305