diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-14 19:30:54 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-15 14:15:02 +0000 |
commit | d121cc8037ddcb36763e665cf178791e6e3cafd5 (patch) | |
tree | 2a39c2947a9a56e871192be5b5812d7975e7fd07 /sw/qa/extras/odfimport/odfimport.cxx | |
parent | 788fb4a0152d64c431c0c6062045a742ef80f40b (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/qa/extras/odfimport/odfimport.cxx')
0 files changed, 0 insertions, 0 deletions