diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-15 08:59:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-15 12:53:00 +0200 |
commit | a09888adcd1de54dcf90968ed447d196ebf0429a (patch) | |
tree | 085c66bb87e7f42e53b5a1861693202af652f64d /sc/source/ui/inc/solveroptions.hxx | |
parent | f7048e9b792c0123318f1133bafa030d688e10d7 (diff) |
weld ScSolverIntegerDialog
Change-Id: I4d7196ead0dd60fe4b40af72a1c7ec64c5a2315a
Reviewed-on: https://gerrit.libreoffice.org/54352
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/inc/solveroptions.hxx')
-rw-r--r-- | sc/source/ui/inc/solveroptions.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/inc/solveroptions.hxx b/sc/source/ui/inc/solveroptions.hxx index 4d999ad76b95..9ad1fb0f6c17 100644 --- a/sc/source/ui/inc/solveroptions.hxx +++ b/sc/source/ui/inc/solveroptions.hxx @@ -26,6 +26,7 @@ #include <vcl/fixed.hxx> #include <vcl/layout.hxx> #include <vcl/lstbox.hxx> +#include <vcl/weld.hxx> #include <svx/checklbx.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -68,15 +69,14 @@ public: const css::uno::Sequence<css::beans::PropertyValue>& GetProperties(); }; -class ScSolverIntegerDialog : public ModalDialog +class ScSolverIntegerDialog : public weld::GenericDialogController { - VclPtr<VclFrame> m_pFrame; - VclPtr<NumericField> m_pNfValue; + std::unique_ptr<weld::Frame> m_xFrame; + std::unique_ptr<weld::SpinButton> m_xNfValue; public: - ScSolverIntegerDialog( vcl::Window * pParent ); + ScSolverIntegerDialog(weld::Window* pParent); virtual ~ScSolverIntegerDialog() override; - virtual void dispose() override; void SetOptionName( const OUString& rName ); void SetValue( sal_Int32 nValue ); |