[Libreoffice-commits] .: Branch 'libreoffice-3-5-1' - cui/source
Michael Meeks
michael at kemper.freedesktop.org
Mon Feb 27 04:41:07 PST 2012
cui/source/tabpages/autocdlg.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 14f0c12942a8557d3d9dcdaea2e80bad34f40d86
Author: Szabolcs Dezsi <dezsiszabi at hotmail.com>
Date: Fri Feb 24 16:42:35 2012 +0100
Reduced loadtime of autocorrect tables
Signed-off-by: Andras Timar <atimar at suse.com>
Signed-off-by: Michael Meeks <michael.meeks at suse.com>
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 147a18f..764203a 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();
More information about the Libreoffice-commits
mailing list