summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-19 14:16:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-19 17:07:09 +0200
commit747394659c5f0aa71053d84fc9fc4bee75fc34ef (patch)
tree903c3d5649ca078335ea5a4ab39e9ed51571fd9b /include
parent749be84cefbce1c24b46ab8cc296064216087312 (diff)
use toggle instead of click for ToggleButton
Change-Id: I8a1c6620cf009807cc43766b0cc972523e87e9c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115811 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/printopt.hxx6
-rw-r--r--include/sfx2/templatedlg.hxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/printopt.hxx b/include/sfx2/printopt.hxx
index d93284f345a5..2a9992d26daf 100644
--- a/include/sfx2/printopt.hxx
+++ b/include/sfx2/printopt.hxx
@@ -60,9 +60,9 @@ private:
DECL_DLLPRIVATE_LINK( ToggleOutputPrinterRBHdl, weld::ToggleButton&, void );
DECL_DLLPRIVATE_LINK( ToggleOutputPrintFileRBHdl, weld::ToggleButton&, void);
- DECL_DLLPRIVATE_LINK( ClickReduceTransparencyCBHdl, weld::Button&, void );
- DECL_DLLPRIVATE_LINK( ClickReduceGradientsCBHdl, weld::Button&, void );
- DECL_DLLPRIVATE_LINK( ClickReduceBitmapsCBHdl, weld::Button&, void );
+ DECL_DLLPRIVATE_LINK( ClickReduceTransparencyCBHdl, weld::ToggleButton&, void );
+ DECL_DLLPRIVATE_LINK( ClickReduceGradientsCBHdl, weld::ToggleButton&, void );
+ DECL_DLLPRIVATE_LINK( ClickReduceBitmapsCBHdl, weld::ToggleButton&, void );
DECL_DLLPRIVATE_LINK( ToggleReduceGradientsStripesRBHdl, weld::ToggleButton&, void );
DECL_DLLPRIVATE_LINK( ToggleReduceBitmapsResolutionRBHdl, weld::ToggleButton&, void );
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx
index 05a693611603..c83b2ab05880 100644
--- a/include/sfx2/templatedlg.hxx
+++ b/include/sfx2/templatedlg.hxx
@@ -86,8 +86,8 @@ protected:
DECL_LINK(ImplUpdateDataHdl, Timer*, void);
DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
- DECL_LINK(ListViewHdl, weld::Button&, void);
- DECL_LINK(ThumbnailViewHdl, weld::Button&, void);
+ DECL_LINK(ListViewHdl, weld::ToggleButton&, void);
+ DECL_LINK(ThumbnailViewHdl, weld::ToggleButton&, void);
DECL_LINK(FocusRectLocalHdl, weld::Widget&, tools::Rectangle);
DECL_LINK(FocusRectSearchHdl, weld::Widget&, tools::Rectangle);