summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-02 15:18:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-06-02 17:32:24 +0200
commitc5e383ea5bbbaecd3d745470edbe73bba48de9d3 (patch)
tree0dd7b1b1c78e9150211d65a927e40061ccf1c09c /include/vcl
parent4f80109ddbb14b52c6a7927bb9ab597f4649f8dd (diff)
Resolves: tdf#125270 clicking LinkButton should launch link
The gtk one does, but the gen one overwrite the default handler instead of adding to it Change-Id: I40c760821cb46283c00624797e97d601babd6200 Reviewed-on: https://gerrit.libreoffice.org/73340 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/fixedhyper.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/fixedhyper.hxx b/include/vcl/fixedhyper.hxx
index da1e8ea84fbb..b46a37a2688d 100644
--- a/include/vcl/fixedhyper.hxx
+++ b/include/vcl/fixedhyper.hxx
@@ -94,6 +94,7 @@ class VCL_DLLPUBLIC FixedHyperlink : public FixedText
m_aClickHdl is called if the text is clicked.
*/
void SetClickHdl( const Link<FixedHyperlink&,void>& rLink ) { m_aClickHdl = rLink; }
+ const Link<FixedHyperlink&,void>& GetClickHdl() const { return m_aClickHdl; }
// ::FixedHyperbaseLink