summaryrefslogtreecommitdiff
path: root/starmath/inc/dialog.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-09 15:28:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-09 21:48:28 +0200
commit8c72e780694e86f84e1d5b5eab6b724e7ec06754 (patch)
tree955fd11d60d7f9e54c23b22cef79aba959331bce /starmath/inc/dialog.hxx
parent40ca52ee802ea3992caa82f811eab124381bc121 (diff)
weld SmAlignDialog
Change-Id: Ie17f8da3ee26b366d4c325ff9aa2dbc7b419d8cd Reviewed-on: https://gerrit.libreoffice.org/52640 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 'starmath/inc/dialog.hxx')
-rw-r--r--starmath/inc/dialog.hxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index 2b5556a9ec97..d4452b86a427 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -245,19 +245,18 @@ public:
/**************************************************************************/
-class SmAlignDialog : public ModalDialog
+class SmAlignDialog : public weld::GenericDialogController
{
- VclPtr<RadioButton> m_pLeft;
- VclPtr<RadioButton> m_pCenter;
- VclPtr<RadioButton> m_pRight;
- VclPtr<PushButton> m_pDefaultButton;
+ std::unique_ptr<weld::RadioButton> m_xLeft;
+ std::unique_ptr<weld::RadioButton> m_xCenter;
+ std::unique_ptr<weld::RadioButton> m_xRight;
+ std::unique_ptr<weld::Button> m_xDefaultButton;
- DECL_LINK(DefaultButtonClickHdl, Button *, void);
+ DECL_LINK(DefaultButtonClickHdl, weld::Button&, void);
public:
- SmAlignDialog(vcl::Window *pParent);
+ SmAlignDialog(weld::Window *pParent);
virtual ~SmAlignDialog() override;
- virtual void dispose() override;
void ReadFrom(const SmFormat &rFormat);
void WriteTo (SmFormat &rFormat) const;