summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-21 08:55:52 +0200
committerNoel Grandin <noel@peralex.com>2015-09-22 20:21:55 +0200
commit6d8124e30c6ce38219ca323f9674f242c822c360 (patch)
tree2a05e63023a1ff5cb327ca844d2830c66bf9fbdb /include
parent3526da14b7c49adff202f32c15948fed8b9915ea (diff)
convert Link<> to typed
and remove unused UserEvent class Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3
Diffstat (limited to 'include')
-rw-r--r--include/svtools/acceleratorexecute.hxx2
-rw-r--r--include/vcl/evntpost.hxx14
2 files changed, 5 insertions, 11 deletions
diff --git a/include/svtools/acceleratorexecute.hxx b/include/svtools/acceleratorexecute.hxx
index d25df279b6a7..4b099e0169f5 100644
--- a/include/svtools/acceleratorexecute.hxx
+++ b/include/svtools/acceleratorexecute.hxx
@@ -232,7 +232,7 @@ class SVT_DLLPUBLIC AcceleratorExecute : private TMutexInit
/** @deprecated
replaced by internal class AsyncAccelExec ...
remove this resource here if we go forwards to next major */
- DECL_DLLPRIVATE_LINK(impl_ts_asyncCallback, void*);
+ DECL_DLLPRIVATE_LINK_TYPED(impl_ts_asyncCallback, LinkParamNone*, void);
};
} // namespace svt
diff --git a/include/vcl/evntpost.hxx b/include/vcl/evntpost.hxx
index 55f93685cac6..276c8879aed5 100644
--- a/include/vcl/evntpost.hxx
+++ b/include/vcl/evntpost.hxx
@@ -27,23 +27,17 @@ struct ImplSVEvent;
namespace vcl
{
- struct UserEvent
- {
- sal_uLong m_nWhich;
- void* m_pData;
- };
-
class VCL_DLLPUBLIC EventPoster
{
- ImplSVEvent * m_nId;
- Link<> m_aLink;
+ ImplSVEvent * m_nId;
+ Link<LinkParamNone*,void> m_aLink;
DECL_DLLPRIVATE_LINK_TYPED( DoEvent_Impl, void*, void );
public:
- EventPoster( const Link<>& rLink );
+ EventPoster( const Link<LinkParamNone*,void>& rLink );
~EventPoster();
- void Post( UserEvent* pEvent );
+ void Post();
};
}