summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-05 07:56:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-05 07:56:12 +0200
commit106ea87205cfba1bc39dc99ad8c3ee5f8fe350fb (patch)
treee55ab4706654d10a5f9b75acfdecec72fda804c3 /toolkit
parent36efdec23b86fe28c79fe672bb6862fb57b6e09a (diff)
Remove _TYPED suffix from tools/link.hxx macros
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/asynccallback.cxx4
-rw-r--r--toolkit/source/awt/scrollabledialog.cxx4
-rw-r--r--toolkit/source/awt/stylesettings.cxx4
-rw-r--r--toolkit/source/awt/vclxaccessiblecomponent.cxx4
-rw-r--r--toolkit/source/awt/vclxmenu.cxx2
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx8
-rw-r--r--toolkit/source/awt/vclxwindow.cxx6
7 files changed, 16 insertions, 16 deletions
diff --git a/toolkit/source/awt/asynccallback.cxx b/toolkit/source/awt/asynccallback.cxx
index 35ccc6a547e6..95467f944d35 100644
--- a/toolkit/source/awt/asynccallback.cxx
+++ b/toolkit/source/awt/asynccallback.cxx
@@ -61,7 +61,7 @@ private:
css::uno::Any aData;
};
- DECL_STATIC_LINK_TYPED( AsyncCallback, Notify_Impl, void*, void );
+ DECL_STATIC_LINK( AsyncCallback, Notify_Impl, void*, void );
virtual ~AsyncCallback() override {}
};
@@ -96,7 +96,7 @@ void SAL_CALL AsyncCallback::addCallback(const css::uno::Reference< css::awt::XC
}
// private asynchronous link to call reference to the callback object
-IMPL_STATIC_LINK_TYPED( AsyncCallback, Notify_Impl, void*, p, void )
+IMPL_STATIC_LINK( AsyncCallback, Notify_Impl, void*, p, void )
{
CallbackData* pCallbackData = static_cast<CallbackData*>(p);
try
diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx
index d1fc2ddabf43..a74aab53201d 100644
--- a/toolkit/source/awt/scrollabledialog.cxx
+++ b/toolkit/source/awt/scrollabledialog.cxx
@@ -115,8 +115,8 @@ void ScrollableWrapper<T>::lcl_Scroll( long nX, long nY )
}
}
-//Can't use IMPL_LINK_TYPED with the template
-//IMPL_LINK_TYPED( ScrollableWrapper, ScrollBarHdl, ScrollBar*, pSB, void )
+//Can't use IMPL_LINK with the template
+//IMPL_LINK( ScrollableWrapper, ScrollBarHdl, ScrollBar*, pSB, void )
template< class T>
void ScrollableWrapper<T>::LinkStubScrollBarHdl( void* pThis, ScrollBar* pCaller)
diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx
index 0aad2ed2e0b1..f38bdcf38aa8 100644
--- a/toolkit/source/awt/stylesettings.cxx
+++ b/toolkit/source/awt/stylesettings.cxx
@@ -56,11 +56,11 @@ namespace toolkit
{
}
- DECL_LINK_TYPED( OnWindowEvent, VclWindowEvent&, void );
+ DECL_LINK( OnWindowEvent, VclWindowEvent&, void );
};
- IMPL_LINK_TYPED( WindowStyleSettings_Data, OnWindowEvent, VclWindowEvent&, rEvent, void )
+ IMPL_LINK( WindowStyleSettings_Data, OnWindowEvent, VclWindowEvent&, rEvent, void )
{
if ( rEvent.GetId() != VCLEVENT_WINDOW_DATACHANGED )
return;
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx
index c182d5634916..20c39d111cfb 100644
--- a/toolkit/source/awt/vclxaccessiblecomponent.cxx
+++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx
@@ -111,7 +111,7 @@ uno::Sequence< OUString > VCLXAccessibleComponent::getSupportedServiceNames() th
return aNames;
}
-IMPL_LINK_TYPED( VCLXAccessibleComponent, WindowEventListener, VclWindowEvent&, rEvent, void )
+IMPL_LINK( VCLXAccessibleComponent, WindowEventListener, VclWindowEvent&, rEvent, void )
{
/* Ignore VCLEVENT_WINDOW_ENDPOPUPMODE, because the UNO accessibility wrapper
* might have been destroyed by the previous VCLEventListener (if no AT tool
@@ -127,7 +127,7 @@ IMPL_LINK_TYPED( VCLXAccessibleComponent, WindowEventListener, VclWindowEvent&,
}
}
-IMPL_LINK_TYPED( VCLXAccessibleComponent, WindowChildEventListener, VclWindowEvent&, rEvent, void )
+IMPL_LINK( VCLXAccessibleComponent, WindowChildEventListener, VclWindowEvent&, rEvent, void )
{
if ( m_xVCLXWindow.is() /* #i68079# */ )
{
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index 827e0df4756d..2b98cc7436ae 100644
--- a/toolkit/source/awt/vclxmenu.cxx
+++ b/toolkit/source/awt/vclxmenu.cxx
@@ -77,7 +77,7 @@ void VCLXMenu::ImplCreateMenu( bool bPopup )
mpMenu->AddEventListener( LINK( this, VCLXMenu, MenuEventListener ) );
}
-IMPL_LINK_TYPED( VCLXMenu, MenuEventListener, VclMenuEvent&, rMenuEvent, void )
+IMPL_LINK( VCLXMenu, MenuEventListener, VclMenuEvent&, rMenuEvent, void )
{
DBG_ASSERT( rMenuEvent.GetMenu() && mpMenu, "Menu???" );
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 6acd3bbc090b..b3469f2e9ef3 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -195,9 +195,9 @@ class VCLXToolkit : public VCLXToolkitMutexHelper,
bool m_bEventListener;
bool m_bKeyListener;
- DECL_LINK_TYPED(eventListenerHandler, ::VclSimpleEvent&, void);
+ DECL_LINK(eventListenerHandler, ::VclSimpleEvent&, void);
- DECL_LINK_TYPED(keyListenerHandler, ::VclWindowEvent&, bool);
+ DECL_LINK(keyListenerHandler, ::VclWindowEvent&, bool);
void callTopWindowListeners(
::VclSimpleEvent const * pEvent,
@@ -1751,7 +1751,7 @@ void SAL_CALL VCLXToolkit::fireFocusLost(
}
-IMPL_LINK_TYPED(VCLXToolkit, eventListenerHandler, ::VclSimpleEvent&, rEvent, void)
+IMPL_LINK(VCLXToolkit, eventListenerHandler, ::VclSimpleEvent&, rEvent, void)
{
switch (rEvent.GetId())
{
@@ -1792,7 +1792,7 @@ IMPL_LINK_TYPED(VCLXToolkit, eventListenerHandler, ::VclSimpleEvent&, rEvent, vo
}
}
-IMPL_LINK_TYPED(VCLXToolkit, keyListenerHandler, ::VclWindowEvent&, rEvent, bool)
+IMPL_LINK(VCLXToolkit, keyListenerHandler, ::VclWindowEvent&, rEvent, bool)
{
switch (rEvent.GetId())
{
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index 3e825b5b9e20..2f21102e5a4b 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -188,7 +188,7 @@ public:
~VCLXWindowImpl();
private:
- DECL_LINK_TYPED( OnProcessCallbacks, void*, void );
+ DECL_LINK( OnProcessCallbacks, void*, void );
};
@@ -271,7 +271,7 @@ void VCLXWindowImpl::callBackAsync( const VCLXWindow::Callback& i_callback )
}
-IMPL_LINK_NOARG_TYPED(VCLXWindowImpl, OnProcessCallbacks, void*, void)
+IMPL_LINK_NOARG(VCLXWindowImpl, OnProcessCallbacks, void*, void)
{
const Reference< uno::XInterface > xKeepAlive( mrAntiImpl );
@@ -401,7 +401,7 @@ void VCLXWindow::notifyWindowRemoved( vcl::Window& _rWindow )
}
}
-IMPL_LINK_TYPED( VCLXWindow, WindowEventListener, VclWindowEvent&, rEvent, void )
+IMPL_LINK( VCLXWindow, WindowEventListener, VclWindowEvent&, rEvent, void )
{
if ( mpImpl->mnListenerLockLevel )
return;