From 6d8124e30c6ce38219ca323f9674f242c822c360 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 21 Sep 2015 08:55:52 +0200 Subject: convert Link<> to typed and remove unused UserEvent class Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3 --- include/vcl/evntpost.hxx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'include/vcl/evntpost.hxx') 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 m_aLink; DECL_DLLPRIVATE_LINK_TYPED( DoEvent_Impl, void*, void ); public: - EventPoster( const Link<>& rLink ); + EventPoster( const Link& rLink ); ~EventPoster(); - void Post( UserEvent* pEvent ); + void Post(); }; } -- cgit