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

(-)openoffice.org.orig/sc/source/ui/inc/formula.hxx (-1 / +1 lines)
Lines 195-201 Link Here
195
	void			UpdateFunctionDesc();
195
	void			UpdateFunctionDesc();
196
	void			ResizeArgArr( const ScFuncDesc* pNewFunc );
196
	void			ResizeArgArr( const ScFuncDesc* pNewFunc );
197
	void			FillListboxes();
197
	void			FillListboxes();
198
	void			FillControls();
198
	void			FillControls(BOOL &rbNext, BOOL &rbPrev);
199
199
200
	xub_StrLen		GetFunctionPos(xub_StrLen nPos);
200
	xub_StrLen		GetFunctionPos(xub_StrLen nPos);
201
	void			UpdateTokenArray( const String& rStrExp);
201
	void			UpdateTokenArray( const String& rStrExp);
(-)openoffice.org/sc/source/ui/formdlg/formula.cxx (-6 / +10 lines)
Lines 439-446 Link Here
439
439
440
void ScFormulaDlg::FillDialog(BOOL nFlag)
440
void ScFormulaDlg::FillDialog(BOOL nFlag)
441
{
441
{
442
	if(nFlag) FillControls();
442
    BOOL bNext=TRUE, bPrev=TRUE;
443
	if(nFlag) FillControls(bNext, bPrev);
443
	FillListboxes();
444
	FillListboxes();
445
	if(nFlag)
446
    {
447
	    aBtnBackward.Enable(bPrev);
448
	    aBtnForward.Enable(bNext);
449
    }
444
450
445
	String aStrResult;
451
	String aStrResult;
446
452
Lines 498-504 Link Here
498
	SetUniqueId( nOldUnique );
504
	SetUniqueId( nOldUnique );
499
505
500
}
506
}
501
void ScFormulaDlg::FillControls()
507
void ScFormulaDlg::FillControls(BOOL &rbNext, BOOL &rbPrev)
502
{
508
{
503
	//	Umschalten zwischen den "Seiten"
509
	//	Umschalten zwischen den "Seiten"
504
510
Lines 593-604 Link Here
593
		//	Test, ob vorne/hinten noch mehr Funktionen sind
599
		//	Test, ob vorne/hinten noch mehr Funktionen sind
594
600
595
	xub_StrLen nTempStart = ScFormulaUtil::GetArgStart( aFormula, nFStart, 0 );
601
	xub_StrLen nTempStart = ScFormulaUtil::GetArgStart( aFormula, nFStart, 0 );
596
	BOOL bNext = ScFormulaUtil::GetNextFunc( aFormula, FALSE, nTempStart );
602
	rbNext = ScFormulaUtil::GetNextFunc( aFormula, FALSE, nTempStart );
597
	nTempStart=(xub_StrLen)pMEdit->GetSelection().Min();
603
	nTempStart=(xub_StrLen)pMEdit->GetSelection().Min();
598
	pData->SetFStart(nTempStart);
604
	pData->SetFStart(nTempStart);
599
	BOOL bPrev = ScFormulaUtil::GetNextFunc( aFormula, TRUE, nTempStart );
605
	rbPrev = ScFormulaUtil::GetNextFunc( aFormula, TRUE, nTempStart );
600
	aBtnBackward.Enable(bPrev);
601
	aBtnForward.Enable(bNext);
602
}
606
}
603
607
604
void ScFormulaDlg::ClearAllParas()
608
void ScFormulaDlg::ClearAllParas()

Return to issue 95834