-
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/38269Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk> Tested-by:
Noel Grandin <noel.grandin@collabora.co.uk>
511fb8e8