summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-14 11:50:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-14 14:07:06 +0200
commit6f2bbb3641f4e8fc26c20181ba790362e7472892 (patch)
tree2c27320700a527399ab1b0049661ef54f7c77b4f /svx/inc
parent165e57d6c9b980f22e57fb1c4c70d9a8c4aaf1c8 (diff)
weld ExtrusionDepthDialog
Change-Id: I5905fea310a7f29574d94eaf61c80b6ca09a7467 Reviewed-on: https://gerrit.libreoffice.org/54310 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 'svx/inc')
-rw-r--r--svx/inc/extrusiondepthdialog.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/svx/inc/extrusiondepthdialog.hxx b/svx/inc/extrusiondepthdialog.hxx
index fb306b992c5b..0e06add86b9e 100644
--- a/svx/inc/extrusiondepthdialog.hxx
+++ b/svx/inc/extrusiondepthdialog.hxx
@@ -22,21 +22,17 @@
#include <svx/svxdllapi.h>
-#include <vcl/fixed.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
-#include <vcl/field.hxx>
+#include <vcl/weld.hxx>
namespace svx {
-class ExtrusionDepthDialog : public ModalDialog
+class ExtrusionDepthDialog : public weld::GenericDialogController
{
- VclPtr<MetricField> m_pMtrDepth;
+ std::unique_ptr<weld::MetricSpinButton> m_xMtrDepth;
public:
- ExtrusionDepthDialog( vcl::Window* pParent, double fDepth, FieldUnit eDefaultUnit );
+ ExtrusionDepthDialog(weld::Window* pParent, double fDepth, FieldUnit eDefaultUnit);
virtual ~ExtrusionDepthDialog() override;
- virtual void dispose() override;
double getDepth() const;
};