summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/fldedt.hxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/sw/source/uibase/inc/fldedt.hxx b/sw/source/uibase/inc/fldedt.hxx
index c6ddf545cea1..c14a4a171d1f 100644
--- a/sw/source/uibase/inc/fldedt.hxx
+++ b/sw/source/uibase/inc/fldedt.hxx
@@ -25,15 +25,15 @@ class SwView;
class SwWrtShell;
class SwFieldMgr;
-class SwFieldEditDlg : public SfxSingleTabDialog
+class SwFieldEditDlg : public SfxSingleTabDialogController
{
SwWrtShell* pSh;
- VclPtr<PushButton> m_pPrevBT;
- VclPtr<PushButton> m_pNextBT;
- VclPtr<PushButton> m_pAddressBT;
+ std::unique_ptr<weld::Button> m_xPrevBT;
+ std::unique_ptr<weld::Button> m_xNextBT;
+ std::unique_ptr<weld::Button> m_xAddressBT;
- DECL_LINK(AddressHdl, Button *, void);
- DECL_LINK(NextPrevHdl, Button *, void);
+ DECL_LINK(AddressHdl, weld::Button&, void);
+ DECL_LINK(NextPrevHdl, weld::Button&, void);
void Init();
VclPtr<SfxTabPage> CreatePage(sal_uInt16 nGroup);
@@ -43,11 +43,10 @@ public:
SwFieldEditDlg(SwView const & rVw);
virtual ~SwFieldEditDlg() override;
- virtual void dispose() override;
- DECL_LINK(OKHdl, Button*, void);
+ DECL_LINK(OKHdl, weld::Button&, void);
- virtual short Execute() override;
+ virtual short run() override;
void EnableInsert(bool bEnable);
void InsertHdl();