summaryrefslogtreecommitdiff
path: root/starmath
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 /starmath
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 'starmath')
-rw-r--r--starmath/inc/dialog.hxx2
-rw-r--r--starmath/inc/view.hxx2
-rw-r--r--starmath/source/dialog.cxx2
-rw-r--r--starmath/source/view.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index 41f6b70a84bd..de3a02feebb1 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -446,7 +446,7 @@ class SmSymDefineDialog : public ModalDialog
DECL_LINK(FontChangeHdl, ListBox *);
DECL_LINK(SubsetChangeHdl, ListBox*);
DECL_LINK(StyleChangeHdl, ComboBox *);
- DECL_LINK(CharHighlightHdl, Control* pControl);
+ DECL_LINK(CharHighlightHdl, void *);
DECL_LINK(AddClickHdl, Button *);
DECL_LINK(ChangeClickHdl, Button *);
DECL_LINK(DeleteClickHdl, Button *);
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 5781e26c09f0..5e9da554c097 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -93,7 +93,7 @@ protected:
private:
void RepaintViewShellDoc();
- DECL_LINK(CaretBlinkTimerHdl, AutoTimer *);
+ DECL_LINK(CaretBlinkTimerHdl, void *);
void CaretBlinkInit();
void CaretBlinkStart();
void CaretBlinkStop();
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index acf8c5f44b5c..ff8670589046 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1848,7 +1848,7 @@ IMPL_LINK( SmSymDefineDialog, StyleChangeHdl, ComboBox *, EMPTYARG pComboBox )
}
-IMPL_LINK( SmSymDefineDialog, CharHighlightHdl, Control *, EMPTYARG )
+IMPL_LINK_NOARG(SmSymDefineDialog, CharHighlightHdl)
{
sal_UCS4 cChar = aCharsetDisplay.GetSelectCharacter();
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index d75b78b7e37e..21cc4090273b 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -272,7 +272,7 @@ void SmGraphicWindow::RepaintViewShellDoc()
rDoc.Repaint();
}
-IMPL_LINK( SmGraphicWindow, CaretBlinkTimerHdl, AutoTimer *, EMPTYARG )
+IMPL_LINK_NOARG(SmGraphicWindow, CaretBlinkTimerHdl)
{
if (IsCursorVisible())
SetIsCursorVisible(false);