summaryrefslogtreecommitdiff
path: root/include/vcl/fixedhyper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-16 12:35:30 +0200
committerNoel Grandin <noel@peralex.com>2015-10-16 12:35:54 +0200
commit8d44385bf64c1ea9bdb9100fc7ed005ac7071968 (patch)
tree4d0897a98757d40ff212f2328a9a8bd433aeaf61 /include/vcl/fixedhyper.hxx
parente324766d54ef67625b4ca9ba727a95316c2a1dc5 (diff)
convert Link<> to typed
Change-Id: I48893ac7130ad671864faa5eb55409b21cdda77e
Diffstat (limited to 'include/vcl/fixedhyper.hxx')
-rw-r--r--include/vcl/fixedhyper.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/fixedhyper.hxx b/include/vcl/fixedhyper.hxx
index 98d4de7c00af..b266f74ce1dd 100644
--- a/include/vcl/fixedhyper.hxx
+++ b/include/vcl/fixedhyper.hxx
@@ -28,7 +28,7 @@ class VCL_DLLPUBLIC FixedHyperlink : public FixedText
private:
long m_nTextLen;
Pointer m_aOldPointer;
- Link<> m_aClickHdl;
+ Link<FixedHyperlink&,void> m_aClickHdl;
OUString m_sURL;
/** initializes the font (link color and underline).
@@ -91,22 +91,22 @@ class VCL_DLLPUBLIC FixedHyperlink : public FixedText
m_aClickHdl is called if the text is clicked.
*/
- inline void SetClickHdl( const Link<>& rLink ) { m_aClickHdl = rLink; }
+ inline void SetClickHdl( const Link<FixedHyperlink&,void>& rLink ) { m_aClickHdl = rLink; }
// ::FixedHyperbaseLink
/** sets the URL of the hyperlink and uses it as tooltip. */
- void SetURL(const OUString& rNewURL);
+ void SetURL(const OUString& rNewURL);
/** returns the URL of the hyperlink.
@return
m_sURL
*/
- const OUString& GetURL() const { return m_sURL;}
+ const OUString& GetURL() const { return m_sURL;}
/** sets new text and recalculates the text length. */
- virtual void SetText(const OUString& rNewDescription) override;
+ virtual void SetText(const OUString& rNewDescription) override;
};
#endif