diff options
author | Eike Rathke <erack@redhat.com> | 2017-07-10 18:33:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-10 21:15:28 +0200 |
commit | 741f61d0ca70069e875f6f57bf08d9aa282c0676 (patch) | |
tree | d28b7f48ede251aa9f422fc6acaf52403f947850 /sc/source/ui/inc/formula.hxx | |
parent | f6574be0e375e215e6f21830b9e09d77d01b5097 (diff) |
Introduce IFormulaEditorHelper::getCompiler()
Implemented at rptui::FormulaDialog as nullptr and at ScFormulaDlg as ScCompiler*
Change-Id: I0edaca56f5d9e3505ed766d43bc9ee4af80f03ff
Diffstat (limited to 'sc/source/ui/inc/formula.hxx')
-rw-r--r-- | sc/source/ui/inc/formula.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx index 05a0bf99c422..71cdd4246c19 100644 --- a/sc/source/ui/inc/formula.hxx +++ b/sc/source/ui/inc/formula.hxx @@ -47,8 +47,9 @@ class ScFormulaDlg : public formula::FormulaDlg, css::uno::Reference< css::sheet::XFormulaParser> m_xParser; css::uno::Reference< css::sheet::XFormulaOpCodeMapper> m_xOpCodeMapper; - ScDocument* m_pDoc; - ScAddress m_CursorPos; + ScDocument* m_pDoc; + ScAddress m_CursorPos; + mutable std::shared_ptr<ScCompiler> m_xCompiler; public: ScFormulaDlg( SfxBindings* pB, SfxChildWindow* pCW, @@ -60,6 +61,7 @@ public: virtual void notifyChange() override; virtual void fill() override; virtual bool calculateValue(const OUString& _sExpression, OUString& _rResult, bool bMatrixFormula) override; + virtual std::shared_ptr<formula::FormulaCompiler> getCompiler() const; virtual void doClose(bool _bOk) override; virtual void insertEntryToLRUList(const formula::IFunctionDescription* pDesc) override; virtual void showReference(const OUString& _sFormula) override; |