summaryrefslogtreecommitdiff
path: root/svtools/source/edit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
commitbd205223ec029a875c662474bb6d423d3cdd1994 (patch)
tree6531a292edb0d2a13103a4c55cbd10e7137b8a58 /svtools/source/edit
parent32781c2d268ed94eb46318a0398385baf31368c4 (diff)
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
Diffstat (limited to 'svtools/source/edit')
-rw-r--r--svtools/source/edit/svmedit.cxx2
-rw-r--r--svtools/source/edit/texteng.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index e64de75560e0..69de5c617789 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -1089,7 +1089,7 @@ void MultiLineEdit::Modify()
pUpdateDataTimer->Start();
}
-IMPL_LINK( MultiLineEdit, ImpUpdateDataHdl, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(MultiLineEdit, ImpUpdateDataHdl)
{
UpdateData();
return 0;
diff --git a/svtools/source/edit/texteng.cxx b/svtools/source/edit/texteng.cxx
index 74c41198dc62..8b13fcdbd46d 100644
--- a/svtools/source/edit/texteng.cxx
+++ b/svtools/source/edit/texteng.cxx
@@ -1581,7 +1581,7 @@ void TextEngine::UpdateViews( TextView* pCurView )
maInvalidRec = Rectangle();
}
-IMPL_LINK( TextEngine, IdleFormatHdl, Timer *, EMPTYARG )
+IMPL_LINK_NOARG(TextEngine, IdleFormatHdl)
{
FormatAndUpdate( mpIdleFormatter->GetView() );
return 0;