https://issues.apache.org/ooo/show_bug.cgi?id=118877
--- Comment #9 from leiw@apache.org ---
According to the root cause, the correct fix should like following:
if (pPat1 != pPat2)
{
//Add Reference to avoid pPat1 to be deleted by merge same cell attributes
for adjacent cells
if( IsPooledItem( pPat1 ) ) pPat1->AddRef();
SetPattern(nCol, nRow1, *pPat2, TRUE);
SetPattern(nCol, nRow2, *pPat1, TRUE);
if( IsPooledItem( pPat1 ) ) pPat1->ReleaseRef();
}
--
You are receiving this mail because:
You are the assignee for the bug.
|