summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-20 12:56:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-20 17:02:12 +0200
commit253f7af7bcd2337a06c027852286616ff91d2e3f (patch)
treec60d9f3b377ddb3f1a0e5ec6958845077b0e5378 /sw/source/uibase
parent48182506886230a70cfa2ce3c61470701cb1138e (diff)
use toggle instead of click for RadioButton
Change-Id: Ia43c3ccae0dcbfb0c522a8c13db6fbfb72bfa4f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115877 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/javaedit.hxx3
-rw-r--r--sw/source/uibase/inc/optpage.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/javaedit.hxx b/sw/source/uibase/inc/javaedit.hxx
index ece6743377ac..74130d40284f 100644
--- a/sw/source/uibase/inc/javaedit.hxx
+++ b/sw/source/uibase/inc/javaedit.hxx
@@ -53,10 +53,11 @@ private:
DECL_LINK(OKHdl, weld::Button&, void);
DECL_LINK(PrevHdl, weld::Button&, void);
DECL_LINK(NextHdl, weld::Button&, void);
- DECL_LINK(RadioButtonHdl, weld::Button&, void);
+ DECL_LINK(RadioButtonHdl, weld::ToggleButton&, void);
DECL_LINK(InsertFileHdl, weld::Button&, void);
DECL_LINK(DlgClosedHdl, sfx2::FileDialogHelper *, void);
+ void UpdateFromRadioButtons();
void CheckTravel();
void SetField();
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index 832fd87b0733..8ca8bf3fc55b 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -376,7 +376,7 @@ class SwCompareOptionsTabPage : public SfxTabPage
std::unique_ptr<weld::SpinButton> m_xLenNF;
std::unique_ptr<weld::CheckButton> m_xStoreRsidCB;
- DECL_LINK(ComparisonHdl, weld::Button&, void);
+ DECL_LINK(ComparisonHdl, weld::ToggleButton&, void);
DECL_LINK(IgnoreHdl, weld::ToggleButton&, void);
public: