diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-03-30 12:00:25 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-30 14:31:16 +0200 |
commit | 21c24aa4fdea118ddda0b60e17486458c739375f (patch) | |
tree | 99c471734bb23220573c8e1045cfad722226358e | |
parent | 417fb5a4024a23bb7d6ea13f721e3a53aaf1ecee (diff) |
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.lunak@collabora.com>
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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 ) |