for unallocated columns check default column attributes (tdf#132057)
commita717029e217621482ef799731f945090c6d6be4b
authorLuboš Luňák <l.lunak@collabora.com>
Wed, 16 Feb 2022 08:54:54 +0000 (16 09:54 +0100)
committerLuboš Luňák <l.lunak@collabora.com>
Wed, 16 Feb 2022 20:37:12 +0000 (16 21:37 +0100)
treee3e207bdec815510a9bc0571cbcf27e52f362e18
parent980b91d5c850099766bf32dfe28880df8873c046
for unallocated columns check default column attributes (tdf#132057)

The problem was that this was returning false for the protected
attribute just because a column was not allocated, but the default
attributes had the flag set (so if the column had been allocated
first it would have the flag set too).

Change-Id: I2ef1ef40cafb7e8fc6f7b561c0a376af63f2ad26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129984
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
sc/source/core/data/table2.cxx