diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-12-01 15:25:56 +0300 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-11 23:29:26 +0100 |
commit | 3f614f431475e1bf3bb3bbeac59b0681309628b7 (patch) | |
tree | 104fc56d968dd51802b658d97775c02e06424524 /sc/CppunitTest_sc_tablesheetobj.mk | |
parent | 7d202623b007979d9d0f93f6cd62c3c031d6d1d4 (diff) |
tdf#95295: don't add duplicate conditional formats
This tries to make sure that on copy, any conditional formatting
that has same entries (conditions and formats) as another condition
in the table, is not appended to the conditions list, but updates
existing condition's range. This should prevent multiplication of
entries with duplicating conditions and formats, and fragmenting
ranges.
Existing unit tests had to be adjusted, because they had ensured
exactly that behaviour that is changed in this commit: that new
items are added to the list, and e.g. multiple elements are created
when a single cell is copied to a range.
Change-Id: I46adb883bab7249571b912d56fea0c7918b3516d
Reviewed-on: https://gerrit.libreoffice.org/45656
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/CppunitTest_sc_tablesheetobj.mk')
0 files changed, 0 insertions, 0 deletions