diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-17 12:43:20 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-18 06:01:25 +0000 |
commit | 9704207c386867d1859b06dd25232e06022965d9 (patch) | |
tree | 0a7b610b1fcfc2496455ba65ad67dcd4e5700999 /formula/source/ui | |
parent | 6b84445e33cb13602a0da9ab92d382748bcbbd51 (diff) |
loplugin:constantparam in formula
Change-Id: I3adeed435b62ae60b5d0d4b763dceced5675cd85
Reviewed-on: https://gerrit.libreoffice.org/23330
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'formula/source/ui')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index c60aca77246e..c9fd5b8e9397 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1706,14 +1706,11 @@ void FormulaDlg_Impl::SetEdSelection() } FormulaModalDialog::FormulaModalDialog( vcl::Window* pParent - , bool _bSupportFunctionResult - , bool _bSupportResult - , bool _bSupportMatrix , IFunctionManager* _pFunctionMgr , IControlReferenceHandler* _pDlg ) : ModalDialog(pParent, "FormulaDialog", "formula/ui/formuladialog.ui") - , m_pImpl(new FormulaDlg_Impl(this,_bSupportFunctionResult, - _bSupportResult, _bSupportMatrix, + , m_pImpl(new FormulaDlg_Impl(this, false/*_bSupportFunctionResult*/, + false/*_bSupportResult*/, false/*_bSupportMatrix*/, this, _pFunctionMgr, _pDlg)) { SetText(m_pImpl->aTitle1); @@ -1797,14 +1794,11 @@ void FormulaModalDialog::StoreFormEditData(FormEditData* pData) FormulaDlg::FormulaDlg( SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pParent - , bool _bSupportFunctionResult - , bool _bSupportResult - , bool _bSupportMatrix , IFunctionManager* _pFunctionMgr, IControlReferenceHandler* _pDlg ) : SfxModelessDialog( pB, pCW, pParent, "FormulaDialog", "formula/ui/formuladialog.ui" ), - m_pImpl( new FormulaDlg_Impl(this, _bSupportFunctionResult - , _bSupportResult - , _bSupportMatrix + m_pImpl( new FormulaDlg_Impl(this, true/*_bSupportFunctionResult*/ + , true/*_bSupportResult*/ + , true/*_bSupportMatrix*/ , this, _pFunctionMgr, _pDlg)) { //undo SfxModelessDialog HelpId clear hack |