summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-27 15:32:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-27 18:44:34 +0200
commit579350af152d3599e9b62e8f80f59523184a104e (patch)
tree7e267d4484b36184c8bae20c54b1b5308d783d7c /sw/source/uibase
parent9bd022c6eeb8db1214dd50071d69a6a7c5aa925d (diff)
weld SwCompareOptionsTabPage
Change-Id: Idd158f9352caa2544188e99d3db69f4cccce0474 Reviewed-on: https://gerrit.libreoffice.org/76475 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/optpage.hxx22
1 files changed, 10 insertions, 12 deletions
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index 54988c190de3..010eafdb6d05 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -375,22 +375,20 @@ private:
class SwCompareOptionsTabPage : public SfxTabPage
{
- VclPtr<RadioButton> m_pAutoRB;
- VclPtr<RadioButton> m_pWordRB;
- VclPtr<RadioButton> m_pCharRB;
+ std::unique_ptr<weld::RadioButton> m_xAutoRB;
+ std::unique_ptr<weld::RadioButton> m_xWordRB;
+ std::unique_ptr<weld::RadioButton> m_xCharRB;
+ std::unique_ptr<weld::CheckButton> m_xRsidCB;
+ std::unique_ptr<weld::CheckButton> m_xIgnoreCB;
+ std::unique_ptr<weld::SpinButton> m_xLenNF;
+ std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
- VclPtr<CheckBox> m_pRsidCB;
- VclPtr<CheckBox> m_pIgnoreCB;
- VclPtr<NumericField> m_pLenNF;
- VclPtr<CheckBox> m_pStoreRsidCB;
-
- DECL_LINK(ComparisonHdl, Button*, void);
- DECL_LINK(IgnoreHdl, Button*, void);
+ DECL_LINK(ComparisonHdl, weld::Button&, void);
+ DECL_LINK(IgnoreHdl, weld::Button&, void);
public:
- SwCompareOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
+ SwCompareOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet);
virtual ~SwCompareOptionsTabPage() override;
- virtual void dispose() override;
static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rAttrSet );