summaryrefslogtreecommitdiff
path: root/sd/source/ui/notes
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 /sd/source/ui/notes
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 'sd/source/ui/notes')
-rw-r--r--sd/source/ui/notes/EditWindow.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/notes/EditWindow.cxx b/sd/source/ui/notes/EditWindow.cxx
index fdc763118e4e..aa38c5373abd 100644
--- a/sd/source/ui/notes/EditWindow.cxx
+++ b/sd/source/ui/notes/EditWindow.cxx
@@ -358,11 +358,11 @@ void EditWindow::Command(const CommandEvent& rCEvt)
Window::Command (rCEvt);
}
-IMPL_LINK_INLINE_START( EditWindow, MenuSelectHdl, Menu *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_START(EditWindow, MenuSelectHdl)
{
return 0;
}
-IMPL_LINK_INLINE_END( EditWindow, MenuSelectHdl, Menu *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_END(EditWindow, MenuSelectHdl)
void EditWindow::KeyInput(const KeyEvent& )
{
@@ -423,7 +423,7 @@ void EditWindow::CreateEditView (void)
-IMPL_LINK( EditWindow, EditStatusHdl, EditStatus *, EMPTYARG )
+IMPL_LINK_NOARG(EditWindow, EditStatusHdl)
{
if (!mpEditView)
return 1;
@@ -434,7 +434,7 @@ IMPL_LINK( EditWindow, EditStatusHdl, EditStatus *, EMPTYARG )
}
}
-IMPL_LINK_INLINE_START( EditWindow, ScrollHdl, ScrollBar *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_START(EditWindow, ScrollHdl)
{
DBG_ASSERT(mpEditView, "EditView missing");
if (mpEditView)
@@ -446,7 +446,7 @@ IMPL_LINK_INLINE_START( EditWindow, ScrollHdl, ScrollBar *, EMPTYARG )
}
return 0;
}
-IMPL_LINK_INLINE_END( EditWindow, ScrollHdl, ScrollBar *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_END(EditWindow, ScrollHdl)
Rectangle EditWindow::AdjustScrollBars()
{