summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-09 21:59:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-10 11:25:48 +0200
commit4f00dce2b3f08aea41390786ffdaa29179598dec (patch)
tree8c18606f958f696f9b64e0ed4c519e24c5e7fe72 /svtools
parent9168952759630e9fe41e478bd94dd6e0a709619d (diff)
Use IMPL_[STATIC_]LINK_NOARG where applicable
Change-Id: I1e24b032bdeea017b0e77c5446e55310899ce752
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx6
-rw-r--r--svtools/source/dialogs/ServerDetailsControls.cxx8
2 files changed, 7 insertions, 7 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 7d4267bdf530..2db914235d80 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -159,7 +159,7 @@ IMPL_LINK ( PlaceEditDialog, DelHdl, Button *, EMPTYARG )
return 1;
}
-IMPL_LINK ( PlaceEditDialog, EditHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG( PlaceEditDialog, EditHdl )
{
OUString sUrl = GetServerUrl( );
OUString sName = OUString( m_pEDServerName->GetText() ).trim( );
@@ -167,7 +167,7 @@ IMPL_LINK ( PlaceEditDialog, EditHdl, void *, EMPTYARG )
return 1;
}
-IMPL_LINK ( PlaceEditDialog, EditUsernameHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG( PlaceEditDialog, EditUsernameHdl )
{
for ( std::vector< std::shared_ptr< DetailsContainer > >::iterator it = m_aDetailsContainers.begin( );
it != m_aDetailsContainers.end( ); ++it )
@@ -177,7 +177,7 @@ IMPL_LINK ( PlaceEditDialog, EditUsernameHdl, void *, EMPTYARG )
return 1;
}
-IMPL_LINK( PlaceEditDialog, SelectTypeHdl, void*, EMPTYARG )
+IMPL_LINK_NOARG( PlaceEditDialog, SelectTypeHdl )
{
if (m_xCurrentDetails.get())
m_xCurrentDetails->show(false);
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx
index 90e8df4ffc47..7a17bfde68c6 100644
--- a/svtools/source/dialogs/ServerDetailsControls.cxx
+++ b/svtools/source/dialogs/ServerDetailsControls.cxx
@@ -63,7 +63,7 @@ void DetailsContainer::notifyChange( )
m_aChangeHdl.Call( this );
}
-IMPL_LINK( DetailsContainer, ValueChangeHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG( DetailsContainer, ValueChangeHdl )
{
notifyChange( );
return 0;
@@ -356,7 +356,7 @@ void CmisDetailsContainer::selectRepository( )
notifyChange( );
}
-IMPL_LINK( CmisDetailsContainer, SelectServerTypeHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG( CmisDetailsContainer, SelectServerTypeHdl )
{
// Set a sample URL for the server
sal_uInt16 nId = m_pLBServerType->GetSelectEntryPos( );
@@ -364,7 +364,7 @@ IMPL_LINK( CmisDetailsContainer, SelectServerTypeHdl, void *, EMPTYARG )
return 0;
}
-IMPL_LINK( CmisDetailsContainer, RefreshReposHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG( CmisDetailsContainer, RefreshReposHdl )
{
OUString sBindingUrl = m_pEDBinding->GetText().trim( );
@@ -420,7 +420,7 @@ IMPL_LINK( CmisDetailsContainer, RefreshReposHdl, void *, EMPTYARG )
return 0;
}
-IMPL_LINK( CmisDetailsContainer, SelectRepoHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG( CmisDetailsContainer, SelectRepoHdl )
{
selectRepository( );
return 0;