Lines Matching refs:pCell2
850 ScBaseCell* pCell2 = 0; in SwapRow() local
853 pCell2 = pItems[nIndex2].pCell; in SwapRow()
856 if ( !pCell1 && !pCell2 ) in SwapRow()
864 ::std::swap( pCell1, pCell2 ); in SwapRow()
873 CellType eType2 = pCell2 ? pCell2->GetCellType() : CELLTYPE_NONE; in SwapRow()
876 …rmulaCell* pFmlaCell2 = (eType2 == CELLTYPE_FORMULA) ? static_cast< ScFormulaCell* >( pCell2 ) : 0; in SwapRow()
884 if ( pCell2 ) in SwapRow()
888 pItems[nIndex1].pCell = pCell2; in SwapRow()
891 SvtBroadcaster* pBC2 = pCell2->ReleaseBroadcaster(); in SwapRow()
893 pCell2->TakeBroadcaster( pBC1 ); in SwapRow()
952 pCell1->TakeNote( pCell2->ReleaseNote() ); in SwapRow()
953 pCell2->TakeNote( pNote1 ); in SwapRow()
971 if ( pCell2 ) in SwapRow()
973 pNew1 = pCell2->CloneWithoutNote( *pDocument, aPos1, SC_CLONECELL_ADJUST3DREL ); in SwapRow()
974 pNew1->TakeNote( pCell2->ReleaseNote() ); in SwapRow()
980 SvtBroadcaster* pBC2 = pCell2 ? pCell2->ReleaseBroadcaster() : 0; in SwapRow()
990 if ( pCell2 && !pNew2 ) in SwapRow()
1004 ScBaseCell* pCell2 = 0; in SwapCell() local
1007 pCell2 = rCol.pItems[nIndex2].pCell; in SwapCell()
1012 if( pCell2 ) in SwapCell()
1020 …ScFormulaCell* pFmlaCell2 = (pCell2 && (pCell2->GetCellType() == CELLTYPE_FORMULA)) ? static_cast<… in SwapCell()
1022 if ( pCell2 ) in SwapCell()
1025 pItems[nIndex1].pCell = pCell2; in SwapCell()