summaryrefslogtreecommitdiff
path: root/svx/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-20 17:27:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-21 18:19:58 +0200
commit9940f077fdfc0c271aa66ad64578ae2236a2ca81 (patch)
treea52b00f3ba98d78f88a0d2aa5a02605746f8e6c7 /svx/source/inc
parentf19a599f6911f5ccd1049228454b6c6c8fd6d5cb (diff)
add Toggleable as a separate thing to a Button
and inherit ToggleButton from both it and Button Change-Id: If0e500aca8d0ffa087cb5e2bfc1786372fbff4eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115921 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/datanavi.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx
index 3899fc3d3745..762059515a87 100644
--- a/svx/source/inc/datanavi.hxx
+++ b/svx/source/inc/datanavi.hxx
@@ -281,7 +281,7 @@ namespace svxform
DECL_LINK( ModelSelectListBoxHdl, weld::ComboBox&, void );
DECL_LINK( MenuSelectHdl, const OString&, void );
- DECL_LINK( MenuActivateHdl, weld::ToggleButton&, void );
+ DECL_LINK( MenuActivateHdl, weld::Toggleable&, void );
DECL_LINK( ActivatePageHdl, const OString&, void);
DECL_LINK( UpdateHdl, Timer *, void);
void ModelSelectHdl(const weld::ComboBox*);
@@ -379,8 +379,8 @@ namespace svxform
std::unique_ptr<weld::Button> m_xCalculateBtn;
std::unique_ptr<weld::Button> m_xOKBtn;
- void Check(const weld::ToggleButton* pBox);
- DECL_LINK(CheckHdl, weld::ToggleButton&, void);
+ void Check(const weld::Toggleable* pBox);
+ DECL_LINK(CheckHdl, weld::Toggleable&, void);
DECL_LINK(ConditionHdl, weld::Button&, void);
DECL_LINK(OKHdl, weld::Button&, void);