Kaydet (Commit) 2bc95ebc authored tarafından Markus Mohrhard's avatar Markus Mohrhard

automatically extending cond formats is dangerous, fdo#60828

Change-Id: I45549e163f21550e879a171d80e836b6df3dd2cc
üst beea5924
...@@ -389,9 +389,10 @@ void ScTable::InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE ...@@ -389,9 +389,10 @@ void ScTable::InsertCol( SCCOL nStartCol, SCROW nStartRow, SCROW nEndRow, SCSIZE
if (nStartCol>0) // copy old attributes if (nStartCol>0) // copy old attributes
{ {
sal_uInt16 nWhichArray[2]; sal_uInt16 nWhichArray[3];
nWhichArray[0] = ATTR_MERGE; nWhichArray[0] = ATTR_MERGE;
nWhichArray[1] = 0; nWhichArray[1] = ATTR_CONDITIONAL;
nWhichArray[2] = 0;
for (SCSIZE i=0; i<nSize; i++) for (SCSIZE i=0; i<nSize; i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment