summaryrefslogtreecommitdiff
path: root/sc/workben
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 /sc/workben
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 'sc/workben')
-rw-r--r--sc/workben/test.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/workben/test.cxx b/sc/workben/test.cxx
index 68abbec64ff9..c8a90e8081c5 100644
--- a/sc/workben/test.cxx
+++ b/sc/workben/test.cxx
@@ -1534,7 +1534,7 @@ void lcl_Pivot( FixedText& aTimeText ) // 30
}
}
-IMPL_LINK(MyWindow, CountHdl, PushButton*, EMPTYARG)
+IMPL_LINK_NOARG(MyWindow, CountHdl)
{
long nCount = aCountField.GetValue();
@@ -1645,7 +1645,7 @@ IMPL_LINK(MyWindow, CountHdl, PushButton*, EMPTYARG)
//-----------------------------------------------------------------------
-IMPL_LINK(MyWindow, TextHdl, PushButton*, EMPTYARG)
+IMPL_LINK_NOARG(MyWindow, TextHdl)
{
sal_uInt16 nCol = (sal_uInt16)aColField.GetValue();
sal_uInt16 nRow = (sal_uInt16)aRowField.GetValue();
@@ -1694,7 +1694,7 @@ IMPL_LINK(MyWindow, TextHdl, PushButton*, EMPTYARG)
//-----------------------------------------------------------------------
-IMPL_LINK(MyWindow, BlaHdl, PushButton*, EMPTYARG)
+IMPL_LINK_NOARG(MyWindow, BlaHdl)
{
aTimeText.SetText("...");
@@ -1768,7 +1768,7 @@ IMPL_LINK(MyWindow, BlaHdl, PushButton*, EMPTYARG)
//-----------------------------------------------------------------------
-IMPL_LINK(MyWindow, TabHdl, PushButton*, EMPTYARG)
+IMPL_LINK_NOARG(MyWindow, TabHdl)
{
String aResult;
@@ -1861,7 +1861,7 @@ void lcl_FillCells(XCellCollectionRef xColl)
}
}
-IMPL_LINK(MyWindow, ViewHdl, PushButton*, EMPTYARG)
+IMPL_LINK_NOARG(MyWindow, ViewHdl)
{
XSpreadsheetDocumentRef xDoc = lcl_GetDocument(); // Calc-Model
XInterfaceRef xInt = lcl_GetView();