summaryrefslogtreecommitdiff
path: root/sw/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 /sw/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 'sw/inc')
-rw-r--r--sw/inc/AnnotationWin.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index 6cf6760aeb2b..862a7b53347c 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -213,7 +213,7 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin : public InterimItemWindow
DECL_LINK(ModifyHdl, LinkParamNone*, void);
DECL_LINK(ScrollHdl, weld::ScrolledWindow&, void);
DECL_LINK(DeleteHdl, void*, void);
- DECL_LINK(ToggleHdl, weld::ToggleButton&, void);
+ DECL_LINK(ToggleHdl, weld::Toggleable&, void);
DECL_LINK(SelectHdl, const OString&, void);
DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
DECL_LINK(MouseMoveHdl, const MouseEvent&, bool);