diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-21 21:44:01 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-22 00:24:27 +0100 |
commit | 278c53c93333bed24a74c4c1931e725b64deef02 (patch) | |
tree | 328054d29429d5210bd4c06edd1b2f7de54d800f /formula/source | |
parent | ac5455a6883b9a774a13d9a29267669fe4d5c38d (diff) |
restructure the code a bit more
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 70eccb37bc0a..ac0cac6aff33 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1657,14 +1657,13 @@ FormulaModalDialog::FormulaModalDialog( Window* pParent , bool _bSupportFunctionResult , bool _bSupportResult , bool _bSupportMatrix - , IFormulaEditorHelper* _pHelper , IFunctionManager* _pFunctionMgr , IControlReferenceHandler* _pDlg ) : ModalDialog( pParent, ModuleRes(RID_FORMULADLG_FORMULA_MODAL) ), m_pImpl( new FormulaDlg_Impl(this,_bSupportFunctionResult , _bSupportResult , _bSupportMatrix - ,_pHelper,_pFunctionMgr,_pDlg)) + ,this,_pFunctionMgr,_pDlg)) { FreeResource(); SetText(m_pImpl->aTitle1); @@ -1745,12 +1744,12 @@ FormulaDlg::FormulaDlg( SfxBindings* pB, SfxChildWindow* pCW, , bool _bSupportFunctionResult , bool _bSupportResult , bool _bSupportMatrix - , IFormulaEditorHelper* _pHelper,IFunctionManager* _pFunctionMgr,IControlReferenceHandler* _pDlg ) : + , IFunctionManager* _pFunctionMgr, IControlReferenceHandler* _pDlg ) : SfxModelessDialog( pB, pCW, pParent, ModuleRes(RID_FORMULADLG_FORMULA) ), m_pImpl( new FormulaDlg_Impl(this, _bSupportFunctionResult , _bSupportResult , _bSupportMatrix - ,_pHelper,_pFunctionMgr,_pDlg)) + , this, _pFunctionMgr, _pDlg)) { FreeResource(); if(GetHelpId().isEmpty()) //Hack which hides the HelpId for a model Dialog in SfxModelessDialog |