summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/table2.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 23b7a9a60000..97bd3756fcd5 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -389,9 +389,10 @@ void ScTable::InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE
if (nStartCol>0) // copy old attributes
{
- sal_uInt16 nWhichArray[2];
+ sal_uInt16 nWhichArray[3];
nWhichArray[0] = ATTR_MERGE;
- nWhichArray[1] = 0;
+ nWhichArray[1] = ATTR_CONDITIONAL;
+ nWhichArray[2] = 0;
for (SCSIZE i=0; i<nSize; i++)
{