diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-30 20:34:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-01 15:15:56 +0200 |
commit | 73ada0a095b6f09e0e1c9e779a7920d3eff468fe (patch) | |
tree | b13aab1be28b150444528fb5f0e74c5a8452f070 /sc/source/ui/attrdlg/scdlgfact.hxx | |
parent | b2869173851aadf6182cc2038d9af9fc90aa9183 (diff) |
weld ScMetricInputDlg
Change-Id: I4693969c1ef740235e7c0d55619552dd4ace494c
Reviewed-on: https://gerrit.libreoffice.org/53675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/attrdlg/scdlgfact.hxx')
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.hxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index d4565762ed22..8eee3568f978 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -284,8 +284,14 @@ public: class AbstractScMetricInputDlg_Impl : public AbstractScMetricInputDlg { - DECL_ABSTDLG_BASE( AbstractScMetricInputDlg_Impl, ScMetricInputDlg) - virtual long GetInputValue() const override; + std::unique_ptr<ScMetricInputDlg> m_xDlg; +public: + explicit AbstractScMetricInputDlg_Impl(ScMetricInputDlg* p) + : m_xDlg(p) + { + } + virtual short Execute() override; + virtual int GetInputValue() const override; }; class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg @@ -491,7 +497,7 @@ public: virtual VclPtr<AbstractScLinkedAreaDlg> CreateScLinkedAreaDlg(weld::Window* pParent) override; - virtual VclPtr<AbstractScMetricInputDlg> CreateScMetricInputDlg ( vcl::Window* pParent, + virtual VclPtr<AbstractScMetricInputDlg> CreateScMetricInputDlg(weld::Window* pParent, const OString& sDialogName, long nCurrent, long nDefault, |