diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-10 10:48:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-11 08:48:54 +0200 |
commit | 23175c02b0f16b213736f87697b600dbbd72ff60 (patch) | |
tree | cb4389c986d1b14ffcd30b6b08cba019c0ce1e79 /include/dbaccess | |
parent | 52a949e538de531d35792b59b62c897773ef5ed7 (diff) |
convert Link<> to typed
Change-Id: I473ab8d77273c512e843427c86664f9eefbff116
Diffstat (limited to 'include/dbaccess')
-rw-r--r-- | include/dbaccess/AsynchronousLink.hxx | 4 | ||||
-rw-r--r-- | include/dbaccess/genericcontroller.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/dbaccess/AsynchronousLink.hxx b/include/dbaccess/AsynchronousLink.hxx index a551886540cc..86f2519c7a2e 100644 --- a/include/dbaccess/AsynchronousLink.hxx +++ b/include/dbaccess/AsynchronousLink.hxx @@ -38,7 +38,7 @@ namespace dbaui */ class OAsynchronousLink { - Link<> m_aHandler; + Link<void*,void> m_aHandler; protected: ::osl::Mutex m_aEventSafety; @@ -49,7 +49,7 @@ namespace dbaui /** constructs the object @param _rHandler The link to be called asynchronously */ - OAsynchronousLink( const Link<>& _rHandler ); + OAsynchronousLink( const Link<void*,void>& _rHandler ); virtual ~OAsynchronousLink(); bool IsRunning() const { return m_nEventId != 0; } diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx index 6dad86f9a501..2e48bb5b52c0 100644 --- a/include/dbaccess/genericcontroller.hxx +++ b/include/dbaccess/genericcontroller.hxx @@ -403,8 +403,8 @@ namespace dbaui void ImplBroadcastFeatureState(const OUString& _rFeature, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xListener, bool _bIgnoreCache); // link methods - DECL_LINK(OnAsyncInvalidateAll, void*); - DECL_LINK(OnAsyncCloseTask, void*); + DECL_LINK_TYPED(OnAsyncInvalidateAll, void*, void); + DECL_LINK_TYPED(OnAsyncCloseTask, void*, void); public: ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getORB() const { return m_xContext; } |