diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-30 10:41:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-30 15:17:50 +0200 |
commit | 5fb3b6b925db2989ce61bb954d7156f2a3b84b4c (patch) | |
tree | 13ed09384bdae6b1186bb1bc3b995775909908e2 /cui/source/inc/newtabledlg.hxx | |
parent | 809d59534f519b55d8d55bc03ef35264a2ffe329 (diff) |
weld SvxNewTableDialog
Change-Id: I33189708a2f1b63080cbafc94fe288f8abe60830
Reviewed-on: https://gerrit.libreoffice.org/53652
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 'cui/source/inc/newtabledlg.hxx')
-rw-r--r-- | cui/source/inc/newtabledlg.hxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/cui/source/inc/newtabledlg.hxx b/cui/source/inc/newtabledlg.hxx index 91de08ff6f23..88b7f61c5ec9 100644 --- a/cui/source/inc/newtabledlg.hxx +++ b/cui/source/inc/newtabledlg.hxx @@ -19,24 +19,19 @@ #ifndef INCLUDED_CUI_SOURCE_INC_NEWTABLEDLG_HXX #define INCLUDED_CUI_SOURCE_INC_NEWTABLEDLG_HXX -#include <vcl/fixed.hxx> -#include <vcl/field.hxx> -#include <vcl/button.hxx> - #include <svx/stddlg.hxx> #include <svx/svxdlg.hxx> +#include <vcl/weld.hxx> -class SvxNewTableDialog : public SvxAbstractNewTableDialog +class SvxNewTableDialog : public SvxAbstractNewTableDialog, public weld::GenericDialogController { private: - VclPtr<ModalDialog> m_pDialog; - VclPtr<NumericField> mpNumColumns; - VclPtr<NumericField> mpNumRows; + std::unique_ptr<weld::SpinButton> mxNumColumns; + std::unique_ptr<weld::SpinButton> mxNumRows; public: - SvxNewTableDialog(); + SvxNewTableDialog(weld::Window* pParent); virtual ~SvxNewTableDialog() override; - virtual void dispose() override; virtual short Execute() override; |