summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/layact.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-09-14 19:30:54 +0200
committerAndras Timar <andras.timar@collabora.com>2015-09-19 21:32:16 +0200
commit3b08cc84516f6a3becdf2dfc9c16573495f119ce (patch)
tree6449aaef3314bf03b37699092c7937b7c6bcc29c /sw/source/core/layout/layact.cxx
parent22fd4458604b933faaa89494459b193112a2fb03 (diff)
tdf#93261: sw: fix idle auto-complete collection loop on empty paras
So the auto-spell-checking is hyper-optimized to add the words to the auto-complete list as well, and call SetAutoCompleteWordDirty(). But if you disable the auto-spell-checking, then a separate function SwTextFrm::CollectAutoCmplWrds() will be called, which is buggy because it only resets the dirty flag if at least one word of sufficient length was found in the paragraph, which is never the case for an empty paragraph. Change-Id: Idec64fc3c379301426a44e06a1114c474de36014 (cherry picked from commit 97c6dac69ac2ad9cb20ba4d3c167d22a19922700) Reviewed-on: https://gerrit.libreoffice.org/18589 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/layout/layact.cxx')
0 files changed, 0 insertions, 0 deletions