diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-03-07 18:52:33 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-08 11:27:21 +0100 |
commit | 1e7be382b1f400801d350067e4dfd40d4cfd2db3 (patch) | |
tree | 695165b9d15e5d7ee3badaef53faf68cfe2a9e59 /sc/qa/unit/uicalc/data | |
parent | 866c3ac0631f809f98547ee067dd226970db80c6 (diff) |
revert/fix the incorrect fix for tdf#126904
The default cell style has protection turned off. That means that
any cells that do not have a style that turns the protection on
are actually not protected. So the original code was correct,
it went beyond the cells explicitly saved in the file and the first
"default" cell was not protected, so it was ok to jump there.
Re-saving this document to xlsx and opening it in Excel has the same
result.
So revert the change. Keep the test, but edit the test file to
actually protect cells in the default cell style too, as that way
it's actually useful as a test of protected cells. And since
the test for tdf#126904 is a subset of basically the same test
for the same "bug" tdf#131455, keep only the larger test.
Change-Id: I36f21c33aaf5a31e95aa29d616c6abdec17fcf42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131126
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/qa/unit/uicalc/data')
-rw-r--r-- | sc/qa/unit/uicalc/data/tdf126904.ods | bin | 23144 -> 0 bytes |
-rw-r--r-- | sc/qa/unit/uicalc/data/tdf131455-fixed.ods | bin | 0 -> 34900 bytes |
-rw-r--r-- | sc/qa/unit/uicalc/data/tdf131455.ods | bin | 33222 -> 0 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/sc/qa/unit/uicalc/data/tdf126904.ods b/sc/qa/unit/uicalc/data/tdf126904.ods Binary files differdeleted file mode 100644 index 0f2cf05132c4..000000000000 --- a/sc/qa/unit/uicalc/data/tdf126904.ods +++ /dev/null diff --git a/sc/qa/unit/uicalc/data/tdf131455-fixed.ods b/sc/qa/unit/uicalc/data/tdf131455-fixed.ods Binary files differnew file mode 100644 index 000000000000..08e02804bf1b --- /dev/null +++ b/sc/qa/unit/uicalc/data/tdf131455-fixed.ods diff --git a/sc/qa/unit/uicalc/data/tdf131455.ods b/sc/qa/unit/uicalc/data/tdf131455.ods Binary files differdeleted file mode 100644 index f4d8bca66375..000000000000 --- a/sc/qa/unit/uicalc/data/tdf131455.ods +++ /dev/null |