summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-04 17:28:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-05 10:21:54 +0200
commit8cafd08278c0b925aac91ea94d8f907d98f07047 (patch)
tree1c2b0e57c895511fdc67f8063647cc520ef5eaeb /sfx2/source/view
parent3363f828d63775a11073276dce927b9538b57be6 (diff)
Use typed Timer::SetTimeoutHdl Link
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/ipclient.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 05cce6e5c097..5a30bbab54c2 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -123,7 +123,7 @@ public:
virtual ~SfxInPlaceClient_Impl();
void SizeHasChanged();
- DECL_LINK(TimerHdl, void *);
+ DECL_LINK_TYPED(TimerHdl, Timer *, void);
uno::Reference < frame::XFrame > GetFrame() const;
// XEmbeddedClient
@@ -591,11 +591,10 @@ void SfxInPlaceClient_Impl::SizeHasChanged()
}
-IMPL_LINK_NOARG(SfxInPlaceClient_Impl, TimerHdl)
+IMPL_LINK_NOARG_TYPED(SfxInPlaceClient_Impl, TimerHdl, Timer *, void)
{
if ( m_pClient && m_xObject.is() )
m_pClient->GetViewShell()->CheckIPClient_Impl( m_pClient, m_pClient->GetViewShell()->GetObjectShell()->GetVisArea() );
- return 0;
}