summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:50:12 +0200
commit4cf1a6ba95797bd0f3e2093c0bf4f8686e31a0ce (patch)
tree8345492dc184662173aaebdfdc24c1a918ed2d86 /formula
parent191e636b5a2cd65d151241e39d7b7a84cee3ac27 (diff)
loplugin:defaultparams
Change-Id: I4cb8e39dfe7efcb7ac75ebf41e3d76b8f12750f2
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index a114fac92eda..831d54bda8b8 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -979,7 +979,7 @@ void FormulaDlg_Impl::ClearAllParas()
m_pFtEditName->Hide();
m_pParaWinBox->Hide();
- m_pBtnForward->Enable(true); //@new
+ m_pBtnForward->Enable(); //@new
m_pFtHeadLine->Show();
m_pFtFuncName->Show();
m_pFtFuncDesc->Show();
@@ -1059,7 +1059,7 @@ IMPL_LINK_TYPED( FormulaDlg_Impl, BtnHdl, Button*, pBtn, void )
else if ( pBtn == m_pBtnBackward )
{
bEditFlag=false;
- m_pBtnForward->Enable(true);
+ m_pBtnForward->Enable();
EditNextFunc( false );
m_pMEFormula->Invalidate();
m_pMEFormula->Update();
@@ -1243,7 +1243,7 @@ IMPL_LINK_TYPED( FormulaDlg_Impl, FxHdl, ParaWin&, rPtr, void )
{
if(&rPtr==pParaWin)
{
- m_pBtnForward->Enable(true); //@ In order to be able to input another function.
+ m_pBtnForward->Enable(); //@ In order to be able to input another function.
m_pTabCtrl->SetCurPageId(TP_FUNCTION);
OUString aUndoStr = m_pHelper->getCurrentFormula(); // it will be added before a ";"
@@ -1597,7 +1597,7 @@ IMPL_LINK_NOARG_TYPED(FormulaDlg_Impl, FuncSelHdl, FuncPage&, void)
{
const IFunctionDescription* pDesc =pFuncPage->GetFuncDesc( pFuncPage->GetFunction() );
- if(pDesc!=pFuncDesc) m_pBtnForward->Enable(true); //new
+ if(pDesc!=pFuncDesc) m_pBtnForward->Enable(); //new
if (pDesc)
{