summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-02-24 16:42:35 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-27 12:42:51 +0000
commit14f0c12942a8557d3d9dcdaea2e80bad34f40d86 (patch)
tree48a118608dd093445a4b7669f973852ada2919e8
parent488a3dbe9d229e45ee8fd8a06b69d681239c5d84 (diff)
Reduced loadtime of autocorrect tables
Signed-off-by: Andras Timar <atimar@suse.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r--cui/source/tabpages/autocdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 147a18fb9192..764203a39772 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1225,7 +1225,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);
@@ -1248,7 +1248,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(sal_Bool bFromReset,
}
aNewReplacePB.Enable(sal_False);
aDeleteReplacePB.Enable(sal_False);
-
+ aReplaceTLB.SetUpdateMode(sal_True);
}
SfxViewShell* pViewShell = SfxViewShell::Current();