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

the method is actually called twice, fdo#60306

Who the hell had the insane idea to call this method twice. Please give
me tar and feathers. I'm a big fan of this type of punishment now.

Change-Id: Idd5a17fb69162b2cd00d05223b4561041985e929
üst 823ef200
......@@ -740,12 +740,15 @@ void ScTable::CopyFromClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
aCol[i].CopyFromClip(nRow1, nRow2, nDy, nInsFlag, bAsLink, bSkipAttrForEmpty, pTable->aCol[i - nDx]);
// make sure that there are no old references to the cond formats
sal_uInt16 nWhichArray[2];
nWhichArray[0] = ATTR_CONDITIONAL;
nWhichArray[1] = 0;
for ( SCCOL i = nCol1; i <= nCol2; ++i)
aCol[i].ClearItems(nRow1, nRow2, nWhichArray);
if(nInsFlag != IDF_OBJECTS)
{
// make sure that there are no old references to the cond formats
sal_uInt16 nWhichArray[2];
nWhichArray[0] = ATTR_CONDITIONAL;
nWhichArray[1] = 0;
for ( SCCOL i = nCol1; i <= nCol2; ++i)
aCol[i].ClearItems(nRow1, nRow2, nWhichArray);
}
//remove old notes
if (nInsFlag & (IDF_NOTE|IDF_ADDNOTES))
......
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