summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-20 12:59:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-20 12:59:44 +0200
commitb441b2013e638314bc9fdb78b0f29575efe51f78 (patch)
treee01b42b892610208cd6e035b54e50045e2714465
parent11f6c6d59128be73e722441012cffb47cdf0058c (diff)
loplugin:staticmethods
Change-Id: I439747c98fcdadb59e68756e8b3ae2e305c960cb
-rw-r--r--include/vcl/fixedhyper.hxx2
-rw-r--r--vcl/source/control/fixedhyper.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/fixedhyper.hxx b/include/vcl/fixedhyper.hxx
index 98b5e159e3bb..dea9b3c5470f 100644
--- a/include/vcl/fixedhyper.hxx
+++ b/include/vcl/fixedhyper.hxx
@@ -40,7 +40,7 @@ class VCL_DLLPUBLIC FixedHyperlink : public FixedText
/** is position X position hitting text */
SAL_DLLPRIVATE bool ImplIsOverText(Point rPosition);
- DECL_LINK(HandleClick, FixedHyperlink&, void);
+ DECL_STATIC_LINK(FixedHyperlink, HandleClick, FixedHyperlink&, void);
protected:
/** overwrites Window::MouseMove().
diff --git a/vcl/source/control/fixedhyper.cxx b/vcl/source/control/fixedhyper.cxx
index 51a12f661cf9..8cfff9620358 100644
--- a/vcl/source/control/fixedhyper.cxx
+++ b/vcl/source/control/fixedhyper.cxx
@@ -149,7 +149,7 @@ bool FixedHyperlink::set_property(const OString &rKey, const OString &rValue)
return true;
}
-IMPL_LINK(FixedHyperlink, HandleClick, FixedHyperlink&, rHyperlink, void)
+IMPL_STATIC_LINK(FixedHyperlink, HandleClick, FixedHyperlink&, rHyperlink, void)
{
if ( rHyperlink.m_sURL.isEmpty() ) // Nothing to do, when the URL is empty
return;