summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-09 21:59:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-10 11:25:48 +0200
commit4f00dce2b3f08aea41390786ffdaa29179598dec (patch)
tree8c18606f958f696f9b64e0ed4c519e24c5e7fe72 /forms
parent9168952759630e9fe41e478bd94dd6e0a709619d (diff)
Use IMPL_[STATIC_]LINK_NOARG where applicable
Change-Id: I1e24b032bdeea017b0e77c5446e55310899ce752
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Edit.cxx2
-rw-r--r--forms/source/component/FormattedField.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx
index ffcc37a88633..d52353dfbe50 100644
--- a/forms/source/component/Edit.cxx
+++ b/forms/source/component/Edit.cxx
@@ -247,7 +247,7 @@ void OEditControl::keyReleased(const ::com::sun::star::awt::KeyEvent& /*e*/) thr
}
-IMPL_LINK(OEditControl, OnKeyPressed, void*, /*EMPTYARG*/)
+IMPL_LINK_NOARG(OEditControl, OnKeyPressed)
{
m_nKeyEvent = 0;
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index ac7112db484e..79eab7e334eb 100644
--- a/forms/source/component/FormattedField.cxx
+++ b/forms/source/component/FormattedField.cxx
@@ -240,7 +240,7 @@ void OFormattedControl::keyReleased(const ::com::sun::star::awt::KeyEvent& /*e*/
{
}
-IMPL_LINK(OFormattedControl, OnKeyPressed, void*, /*EMPTYARG*/)
+IMPL_LINK_NOARG(OFormattedControl, OnKeyPressed)
{
m_nKeyEvent = 0;
Reference<XFormComponent> xFComp(getModel(), UNO_QUERY);