View | Details | Raw Unified | Return to issue 47145
Collapse All | Expand All

(-)sc/source/ui/dbgui/fieldwnd.cxx (-1 / +1 lines)
Lines 658-664 Link Here
658
658
659
void ScDPFieldWindow::ClearFields()
659
void ScDPFieldWindow::ClearFields()
660
{
660
{
661
    if( eType == TYPE_SELECT )
661
    if( eType == TYPE_SELECT || eType == TYPE_PAGE || eType == TYPE_COL || eType == TYPE_ROW || eType == TYPE_DATA)
662
	{
662
	{
663
        com::sun::star::uno::Reference < com::sun::star::accessibility::XAccessible > xTempAcc = xAccessible;
663
        com::sun::star::uno::Reference < com::sun::star::accessibility::XAccessible > xTempAcc = xAccessible;
664
        if (!xTempAcc.is() && pAccessible)
664
        if (!xTempAcc.is() && pAccessible)
(-)sc/source/ui/dbgui/pvlaydlg.cxx (-3 / +11 lines)
Lines 1568-1573 Link Here
1568
			
1567
			
1569
	aR = xDlgDPObject->GetSheetDesc()->aSourceRange;
1568
	aR = xDlgDPObject->GetSheetDesc()->aSourceRange;
1570
	
1569
	
1570
	aLabelDataArr.clear();
1571
	aWndSelect.ClearFields();
1572
	aWndData.ClearFields();
1573
	aWndRow.ClearFields();
1574
	aWndCol.ClearFields();
1575
	aWndPage.ClearFields();
1576
	
1571
	USHORT i;
1577
	USHORT i;
1572
 	for ( i=0; i<MAX_LABELS; i++ )
1578
 	for ( i=0; i<MAX_LABELS; i++ )
1573
		aSelectArr[i].reset();
1579
		aSelectArr[i].reset();
Lines 1577-1588 Link Here
1577
		RemoveField (TYPE_COL, i);
1583
		RemoveField (TYPE_COL, i);
1578
		RemoveField (TYPE_ROW, i);
1584
		RemoveField (TYPE_ROW, i);
1579
		RemoveField (TYPE_DATA, i);
1585
		RemoveField (TYPE_DATA, i);
1580
		RemoveField (TYPE_PAGE, i);
1581
	}
1586
	}
1587
	for ( i=0; i<MAX_PAGEFIELDS; i++ )
1588
		RemoveField (TYPE_PAGE, i);
1582
1589
1583
	aLabelDataArr.clear();
1590
//	aLabelDataArr.clear();
1584
	
1591
	
1585
	aWndSelect.ClearFields();
1592
//	aWndSelect.ClearFields();
1586
	
1593
	
1587
	InitWndSelect( thePivotData.ppLabelArr, thePivotData.nLabels );
1594
	InitWndSelect( thePivotData.ppLabelArr, thePivotData.nLabels );
1588
	InitWnd( thePivotData.aColArr,  thePivotData.nColCount,  TYPE_COL );
1595
	InitWnd( thePivotData.aColArr,  thePivotData.nColCount,  TYPE_COL );

Return to issue 47145