diff options
author | Jean-Sebastien Bevilacqua <realitix@gmail.com> | 2017-05-31 10:59:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-31 13:18:00 +0200 |
commit | 511fb8e80d298d42f5c45e7410bf64f2a25b441e (patch) | |
tree | 1f3f2c73305127c7fd3404f46a0ec3200c33f4f9 /bin/find-unusedheaders.pl | |
parent | add89eb95021cc6ebda2acffc4c7889109defa5b (diff) |
tdf#108259 Enable autofilter with many different values
When you create an autofilter on a column which contains many different
values, you will have problems.
First of all, if you exceed 65535 values, you will enter in an infinite
loop because a uint16 is incremented for each value, and after 65535,
you restart to 0.
Secondly, the algorithm executes a double loop in O(n2) to determine
checked values, it's too long. Instead of that, all checked values can be
determined before.
This patch is graciously offered by Linagora.
Change-Id: Idc4500f6a496ae789aae11eb0e183aee157daa20
Reviewed-on: https://gerrit.libreoffice.org/38269
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bin/find-unusedheaders.pl')
0 files changed, 0 insertions, 0 deletions