summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/validate.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-07 19:53:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-08 10:14:07 +0200
commitfcd2f1c80f0523efb6941239c220bddd25d4cd7b (patch)
treee4557a8d2efa9a1d948486b8c0b4ef0cd526350e /sc/source/ui/inc/validate.hxx
parent59dd8fe17e970743e45edf687ab8751ab7f21b1f (diff)
weld ScTPValidationError
Change-Id: Iaea475dc1037ed070ab2ff61be647f345d39ae3c Reviewed-on: https://gerrit.libreoffice.org/61501 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r--sc/source/ui/inc/validate.hxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index 45917c08b7ca..bb9d262ee968 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -279,23 +279,22 @@ public:
class ScTPValidationError : public SfxTabPage
{
private:
- VclPtr<TriStateBox> m_pTsbShow;
- VclPtr<ListBox> m_pLbAction;
- VclPtr<PushButton> m_pBtnSearch;
- VclPtr<Edit> m_pEdtTitle;
- VclPtr<FixedText> m_pFtError;
- VclPtr<VclMultiLineEdit> m_pEdError;
+ std::unique_ptr<weld::CheckButton> m_xTsbShow;
+ std::unique_ptr<weld::ComboBox> m_xLbAction;
+ std::unique_ptr<weld::Button> m_xBtnSearch;
+ std::unique_ptr<weld::Entry> m_xEdtTitle;
+ std::unique_ptr<weld::Label> m_xFtError;
+ std::unique_ptr<weld::TextView> m_xEdError;
void Init();
// Handler ------------------------
- DECL_LINK(SelectActionHdl, ListBox&, void);
- DECL_LINK(ClickSearchHdl, Button*, void);
+ DECL_LINK(SelectActionHdl, weld::ComboBox&, void);
+ DECL_LINK(ClickSearchHdl, weld::Button&, void);
public:
- ScTPValidationError( vcl::Window* pParent, const SfxItemSet& rArgSet );
- virtual ~ScTPValidationError() override;
- virtual void dispose() override;
+ ScTPValidationError(TabPageParent pParent, const SfxItemSet& rArgSet);
+ virtual ~ScTPValidationError() override;
static VclPtr<SfxTabPage> Create ( TabPageParent pParent, const SfxItemSet* rArgSet );
virtual bool FillItemSet ( SfxItemSet* rArgSet ) override;