summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-20 10:29:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-20 15:32:38 +0200
commite292aa04980d0eac776619c9d37812ebff0a333c (patch)
tree8fe3d6734d72803085c5862301ad4c23bbca45b1 /sw/source/uibase
parentf180554caf7d6088d3fc0da805f5c195f8972e6b (diff)
use toggle instead of click for CheckButton
Change-Id: I6a80946481ee6fc40b2ee207a64287d1a5f96110 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115864 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/envlop.hxx2
-rw-r--r--sw/source/uibase/inc/optpage.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/envlop.hxx b/sw/source/uibase/inc/envlop.hxx
index a851aa3880e1..ed23fb6b0f6a 100644
--- a/sw/source/uibase/inc/envlop.hxx
+++ b/sw/source/uibase/inc/envlop.hxx
@@ -98,7 +98,7 @@ class SwEnvPage : public SfxTabPage
DECL_LINK(DatabaseHdl, weld::ComboBox&, void);
DECL_LINK(FieldHdl, weld::Button&, void);
- DECL_LINK(SenderHdl, weld::Button&, void);
+ DECL_LINK(SenderHdl, weld::ToggleButton&, void);
void InitDatabaseBox();
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index eebacf51ef53..ead7dbc40675 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -205,7 +205,7 @@ class SwTableOptionsTabPage : public SfxTabPage
std::unique_ptr<weld::RadioButton> m_xFixPropRB;
std::unique_ptr<weld::RadioButton> m_xVarRB;
- DECL_LINK(CheckBoxHdl, weld::Button&, void);
+ DECL_LINK(CheckBoxHdl, weld::ToggleButton&, void);
public:
SwTableOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);