summaryrefslogtreecommitdiff
path: root/svx/source/dialog/optgrid.cxx
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 /svx/source/dialog/optgrid.cxx
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 'svx/source/dialog/optgrid.cxx')
-rw-r--r--svx/source/dialog/optgrid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx
index 9c0c451340c8..6a272705567e 100644
--- a/svx/source/dialog/optgrid.cxx
+++ b/svx/source/dialog/optgrid.cxx
@@ -358,7 +358,7 @@ IMPL_LINK( SvxGridTabPage, ChangeDrawHdl_Impl, MetricField *, pField )
}
//------------------------------------------------------------------------
-IMPL_LINK( SvxGridTabPage, ClickRotateHdl_Impl, void *, EMPTYARG )
+IMPL_LINK_NOARG(SvxGridTabPage, ClickRotateHdl_Impl)
{
if( aCbxRotate.IsChecked() )
aMtrFldAngle.Enable();
@@ -384,7 +384,7 @@ IMPL_LINK( SvxGridTabPage, ChangeDivisionHdl_Impl, NumericField *, pField )
}
//------------------------------------------------------------------------
-IMPL_LINK( SvxGridTabPage, ChangeGridsnapHdl_Impl, void *, EMPTYARG )
+IMPL_LINK_NOARG(SvxGridTabPage, ChangeGridsnapHdl_Impl)
{
bAttrModified = sal_True;
return 0;