diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-02-24 16:42:35 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-02-27 11:09:41 +0100 |
commit | 8e750a2d9c653e0693738c847fe2ee2a8ab04052 (patch) | |
tree | 4a8167e7f59c02334cfbf8cb3b8a2e26d05b4841 /cui/source/tabpages | |
parent | 906e35f80a17d51c305e0db251e6224f5dd23d52 (diff) |
Reduced loadtime of autocorrect tables
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 93a370f8c334..cdd56d039a1d 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -1213,7 +1213,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(sal_Bool bFromReset, { SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect(); SvxAutocorrWordList* pWordList = pAutoCorrect->LoadAutocorrWordList(eLang); - + aReplaceTLB.SetUpdateMode(sal_False); for(sal_uInt16 i = 0; i < pWordList->Count(); i++) { SvxAutocorrWordPtr pWordPtr = pWordList->GetObject(i); @@ -1234,7 +1234,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(sal_Bool bFromReset, } aNewReplacePB.Enable(sal_False); aDeleteReplacePB.Enable(sal_False); - + aReplaceTLB.SetUpdateMode(sal_True); } SfxViewShell* pViewShell = SfxViewShell::Current(); |