Kaydet (Commit) da492758 authored tarafından Michael Meeks's avatar Michael Meeks

tdf#90935 - function wizard crash fix.

Change-Id: I1344e194f8fd5d2c0ffff4e8b075564df32706a8
üst 6fd3e560
......@@ -1643,21 +1643,28 @@ void FormulaDlg_Impl::SetEdSelection()
} // if( pEd )
}
FormulaModalDialog::FormulaModalDialog( vcl::Window* pParent
, bool _bSupportFunctionResult
, bool _bSupportResult
, bool _bSupportMatrix
, IFunctionManager* _pFunctionMgr
, IControlReferenceHandler* _pDlg )
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, this, _pFunctionMgr, _pDlg))
_bSupportResult, _bSupportMatrix,
this, _pFunctionMgr, _pDlg))
{
SetText(m_pImpl->aTitle1);
}
FormulaModalDialog::~FormulaModalDialog() {}
void FormulaModalDialog::dispose()
{
m_pImpl.reset();
ModalDialog::dispose();
}
void FormulaModalDialog::Update(const OUString& _sExp)
{
m_pImpl->Update(_sExp);
......
......@@ -57,6 +57,7 @@ public:
,IFunctionManager* _pFunctionMgr
,IControlReferenceHandler* _pDlg = NULL );
virtual ~FormulaModalDialog();
virtual void dispose() SAL_OVERRIDE;
private:
::std::unique_ptr<FormulaDlg_Impl> m_pImpl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment