sc/source/core/data/table2.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit 21c24aa4fdea118ddda0b60e17486458c739375f Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Wed Mar 30 12:00:25 2022 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Wed Mar 30 14:31:16 2022 +0200
don't clamp columns to allocated ones for flags Flags and attributes can be set even for unallocated columns. Change-Id: I7c4e6b9c8f9359620f6c2ab06fe0563183b88f9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132304 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 6c3aff760bf6..2027ded8b430 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -2604,8 +2604,6 @@ bool ScTable::IsBlockEditable( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, *pOnlyNotBecauseOfMatrix = false; return false; } - nCol1 = ClampToAllocatedColumns(nCol1); - nCol2 = ClampToAllocatedColumns(nCol2); bool bIsEditable = true; if ( nLockCount )