for unallocated columns check default column attributes (tdf#132057)
commit5bdf7c93abd15dc422586228186e822096ce1517
authorLuboš Luňák <l.lunak@collabora.com>
Wed, 16 Feb 2022 08:54:54 +0000 (16 09:54 +0100)
committerXisco Fauli <xiscofauli@libreoffice.org>
Thu, 17 Feb 2022 08:14:19 +0000 (17 09:14 +0100)
tree749bc8b350c9bf8b9a284d75ff05d5a3bff6701f
parent58c28725b2b34941ae4f6afa7689c0d0ebde0be7
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>
(cherry picked from commit a717029e217621482ef799731f945090c6d6be4b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130015
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
sc/source/core/data/table2.cxx