incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 118877] [From Symphony] Calc crashes when Redo refreshing data
Date Thu, 31 May 2012 10:27:21 GMT
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.

Mime
View raw message