summaryrefslogtreecommitdiff
path: root/svtools/source/inc
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/inc
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/inc')
-rw-r--r--svtools/source/inc/svimpbox.hxx4
-rw-r--r--svtools/source/inc/unoiface.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index 2c3e9d3fae73..094c59de3429 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -175,7 +175,7 @@ private:
// #97680# --------------------
std::vector< short > aContextBmpWidthVector;
- DECL_LINK( EditTimerCall, Timer * );
+ DECL_LINK(EditTimerCall, void *);
DECL_LINK( BeginDragHdl, void* );
DECL_LINK( MyUserEvent,void*);
@@ -202,7 +202,7 @@ private:
// ScrollBar-Handler
DECL_LINK( ScrollUpDownHdl, ScrollBar * );
DECL_LINK( ScrollLeftRightHdl, ScrollBar * );
- DECL_LINK( EndScrollHdl, ScrollBar * );
+ DECL_LINK( EndScrollHdl, void * );
void SetNodeBmpYOffset( const Image& );
void SetNodeBmpTabDistance();
diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx
index 5b5667aad85e..c8ff4b078826 100644
--- a/svtools/source/inc/unoiface.hxx
+++ b/svtools/source/inc/unoiface.hxx
@@ -126,7 +126,7 @@ public:
class VCLXFileControl : ::com::sun::star::awt::XTextComponent, public ::com::sun::star::awt::XTextLayoutConstrains, public VCLXWindow
{
protected:
- DECL_LINK( ModifyHdl, Edit* );
+ DECL_LINK(ModifyHdl, void *);
TextListenerMultiplexer maTextListeners;
public: