summaryrefslogtreecommitdiff
path: root/formula/source/ui/dlg/formula.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-17 12:43:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-18 06:01:25 +0000
commit9704207c386867d1859b06dd25232e06022965d9 (patch)
tree0a7b610b1fcfc2496455ba65ad67dcd4e5700999 /formula/source/ui/dlg/formula.cxx
parent6b84445e33cb13602a0da9ab92d382748bcbbd51 (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/dlg/formula.cxx')
-rw-r--r--formula/source/ui/dlg/formula.cxx16
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