Use IMPL_LINK_NOARG[_TYPED] where applicable

Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
This commit is contained in:
Stephan Bergmann 2015-05-10 11:24:40 +02:00
parent 892cb24be6
commit 6dc42c82ba
61 changed files with 91 additions and 96 deletions

View File

@ -340,7 +340,7 @@ void ErrorBarResources::UpdateControlStates()
} }
} }
IMPL_LINK( ErrorBarResources, CategoryChosen, void *, ) IMPL_LINK_NOARG( ErrorBarResources, CategoryChosen )
{ {
m_bErrorKindUnique = true; m_bErrorKindUnique = true;
SvxChartKindError eOldError = m_eErrorKind; SvxChartKindError eOldError = m_eErrorKind;

View File

@ -735,10 +735,8 @@ void OfaViewTabPage::dispose()
} }
#if defined( UNX ) #if defined( UNX )
IMPL_LINK( OfaViewTabPage, OnAntialiasingToggled, void*, NOTINTERESTEDIN ) IMPL_LINK_NOARG( OfaViewTabPage, OnAntialiasingToggled )
{ {
(void)NOTINTERESTEDIN;
bool bAAEnabled = m_pFontAntiAliasing->IsChecked(); bool bAAEnabled = m_pFontAntiAliasing->IsChecked();
m_pAAPointLimitLabel->Enable( bAAEnabled ); m_pAAPointLimitLabel->Enable( bAAEnabled );
@ -749,9 +747,8 @@ IMPL_LINK( OfaViewTabPage, OnAntialiasingToggled, void*, NOTINTERESTEDIN )
#endif #endif
// #i97672# // #i97672#
IMPL_LINK( OfaViewTabPage, OnSelectionToggled, void*, NOTINTERESTEDIN ) IMPL_LINK_NOARG( OfaViewTabPage, OnSelectionToggled )
{ {
(void)NOTINTERESTEDIN;
const bool bSelectionEnabled(m_pSelectionCB->IsChecked()); const bool bSelectionEnabled(m_pSelectionCB->IsChecked());
m_pSelectionMF->Enable(bSelectionEnabled); m_pSelectionMF->Enable(bSelectionEnabled);
return 0; return 0;

View File

@ -278,7 +278,7 @@ namespace dbmm
return MacroMigrationDialog_Base::onFinish(); return MacroMigrationDialog_Base::onFinish();
} }
IMPL_LINK( MacroMigrationDialog, OnStartMigration, void*, /*_pNotInterestedIn*/ ) IMPL_LINK_NOARG( MacroMigrationDialog, OnStartMigration )
{ {
// prevent closing // prevent closing
m_pData->bMigrationIsRunning = true; m_pData->bMigrationIsRunning = true;

View File

@ -562,7 +562,7 @@ void DBContentLoader::cancel() throw(std::exception)
{ {
} }
IMPL_LINK( DBContentLoader, OnStartTableWizard, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DBContentLoader, OnStartTableWizard )
{ {
m_nStartWizard = 0; m_nStartWizard = 0;
try try

View File

@ -796,7 +796,7 @@ bool OApplicationController::isTableFormat() const
return OTableCopyHelper::isTableFormat(getViewClipboard()); return OTableCopyHelper::isTableFormat(getViewClipboard());
} }
IMPL_LINK( OApplicationController, OnAsyncDrop, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( OApplicationController, OnAsyncDrop )
{ {
m_nAsyncDrop = 0; m_nAsyncDrop = 0;
SolarMutexGuard aSolarGuard; SolarMutexGuard aSolarGuard;

View File

@ -911,31 +911,31 @@ IMPL_LINK(OAppDetailPageHelper, OnEntryDoubleClick, SvTreeListBox*, _pTree)
return bHandled ? 1L : 0L; return bHandled ? 1L : 0L;
} }
IMPL_LINK(OAppDetailPageHelper, OnEntrySelChange, void*, /*NOINTERESTEDIN*/) IMPL_LINK_NOARG(OAppDetailPageHelper, OnEntrySelChange)
{ {
getBorderWin().getView()->getAppController().onSelectionChanged(); getBorderWin().getView()->getAppController().onSelectionChanged();
return 1L; return 1L;
} }
IMPL_LINK( OAppDetailPageHelper, OnCutEntry, void*, /*NOINTERESTEDIN*/ ) IMPL_LINK_NOARG( OAppDetailPageHelper, OnCutEntry )
{ {
getBorderWin().getView()->getAppController().onCutEntry(); getBorderWin().getView()->getAppController().onCutEntry();
return 1L; return 1L;
} }
IMPL_LINK( OAppDetailPageHelper, OnCopyEntry, void*, /*NOINTERESTEDIN*/ ) IMPL_LINK_NOARG( OAppDetailPageHelper, OnCopyEntry )
{ {
getBorderWin().getView()->getAppController().onCopyEntry(); getBorderWin().getView()->getAppController().onCopyEntry();
return 1L; return 1L;
} }
IMPL_LINK( OAppDetailPageHelper, OnPasteEntry, void*, /*NOINTERESTEDIN*/ ) IMPL_LINK_NOARG( OAppDetailPageHelper, OnPasteEntry )
{ {
getBorderWin().getView()->getAppController().onPasteEntry(); getBorderWin().getView()->getAppController().onPasteEntry();
return 1L; return 1L;
} }
IMPL_LINK( OAppDetailPageHelper, OnDeleteEntry, void*, /*NOINTERESTEDIN*/ ) IMPL_LINK_NOARG( OAppDetailPageHelper, OnDeleteEntry )
{ {
getBorderWin().getView()->getAppController().onDeleteEntry(); getBorderWin().getView()->getAppController().onDeleteEntry();
return 1L; return 1L;

View File

@ -1267,7 +1267,7 @@ void SbaXDataBrowserController::frameAction(const ::com::sun::star::frame::Frame
} }
} }
IMPL_LINK( SbaXDataBrowserController, OnAsyncDisplayError, void*, /* _pNotInterestedIn */ ) IMPL_LINK_NOARG( SbaXDataBrowserController, OnAsyncDisplayError )
{ {
if ( m_aCurrentError.isValid() ) if ( m_aCurrentError.isValid() )
{ {

View File

@ -139,7 +139,7 @@ void UnoDataBrowserView::dispose()
ODataView::dispose(); ODataView::dispose();
} }
IMPL_LINK( UnoDataBrowserView, SplitHdl, void*, /*NOINTERESTEDIN*/ ) IMPL_LINK_NOARG( UnoDataBrowserView, SplitHdl )
{ {
long nYPos = m_pSplitter->GetPosPixel().Y(); long nYPos = m_pSplitter->GetPosPixel().Y();
m_pSplitter->SetPosPixel( Point( m_pSplitter->GetSplitPosPixel(), nYPos ) ); m_pSplitter->SetPosPixel( Point( m_pSplitter->GetSplitPosPixel(), nYPos ) );

View File

@ -193,7 +193,7 @@ namespace dbaui
return NULL != pTransfer; return NULL != pTransfer;
} }
IMPL_LINK(SbaTableQueryBrowser, OnCopyEntry, void*, /*NOTINTERESIN*/) IMPL_LINK_NOARG(SbaTableQueryBrowser, OnCopyEntry)
{ {
SvTreeListEntry* pSelected = m_pTreeView->getListBox().FirstSelected(); SvTreeListEntry* pSelected = m_pTreeView->getListBox().FirstSelected();
if( isEntryCopyAllowed( pSelected ) ) if( isEntryCopyAllowed( pSelected ) )
@ -215,7 +215,7 @@ namespace dbaui
if (pTransfer) if (pTransfer)
pTransfer->CopyToClipboard(getView()); pTransfer->CopyToClipboard(getView());
} }
IMPL_LINK( SbaTableQueryBrowser, OnAsyncDrop, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( SbaTableQueryBrowser, OnAsyncDrop )
{ {
m_nAsyncDrop = 0; m_nAsyncDrop = 0;
SolarMutexGuard aSolarGuard; SolarMutexGuard aSolarGuard;

View File

@ -361,7 +361,7 @@ Reference< ::com::sun::star::frame::XDispatch > SAL_CALL SbaXGridPeer::queryDis
return FmXGridPeer::queryDispatch(aURL, aTargetFrameName, nSearchFlags); return FmXGridPeer::queryDispatch(aURL, aTargetFrameName, nSearchFlags);
} }
IMPL_LINK( SbaXGridPeer, OnDispatchEvent, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( SbaXGridPeer, OnDispatchEvent )
{ {
VclPtr< SbaGridControl > pGrid = GetAs< SbaGridControl >(); VclPtr< SbaGridControl > pGrid = GetAs< SbaGridControl >();
if ( pGrid ) // if this fails, we were disposing before arriving here if ( pGrid ) // if this fails, we were disposing before arriving here
@ -1444,7 +1444,7 @@ Reference< XPropertySet > SbaGridControl::getDataSource() const
return xReturn; return xReturn;
} }
IMPL_LINK(SbaGridControl, AsynchDropEvent, void*, /*EMPTY_ARG*/) IMPL_LINK_NOARG(SbaGridControl, AsynchDropEvent)
{ {
m_nAsyncDropEvent = 0; m_nAsyncDropEvent = 0;

View File

@ -2491,7 +2491,7 @@ bool SbaTableQueryBrowser::implSelect(const OUString& _rDataSourceName, const OU
return false; return false;
} }
IMPL_LINK(SbaTableQueryBrowser, OnSelectionChange, void*, /*NOINTERESTEDIN*/) IMPL_LINK_NOARG(SbaTableQueryBrowser, OnSelectionChange)
{ {
return implSelect( m_pTreeView->getListBox().FirstSelected() ) ? 1L : 0L; return implSelect( m_pTreeView->getListBox().FirstSelected() ) ? 1L : 0L;
} }

View File

@ -177,7 +177,7 @@ IMPL_LINK_NOARG_TYPED(OSqlEdit, OnInvalidateTimer, Timer *, void)
m_timerInvalidate.Start(); m_timerInvalidate.Start();
} }
IMPL_LINK(OSqlEdit, ModifyHdl, void*, /*EMPTYTAG*/) IMPL_LINK_NOARG(OSqlEdit, ModifyHdl)
{ {
if (m_timerUndoActionCreation.IsActive()) if (m_timerUndoActionCreation.IsActive())
m_timerUndoActionCreation.Stop(); m_timerUndoActionCreation.Stop();

View File

@ -423,7 +423,7 @@ IMPL_LINK( OAddTableDlg, AddClickHdl, Button*, /*pButton*/ )
return 0; return 0;
} }
IMPL_LINK( OAddTableDlg, TableListDoubleClickHdl, void*, /*EMPTY_ARG*/ ) IMPL_LINK_NOARG( OAddTableDlg, TableListDoubleClickHdl )
{ {
if ( impl_isAddAllowed() ) if ( impl_isAddAllowed() )
{ {
@ -436,7 +436,7 @@ IMPL_LINK( OAddTableDlg, TableListDoubleClickHdl, void*, /*EMPTY_ARG*/ )
return 0L; // not handled return 0L; // not handled
} }
IMPL_LINK( OAddTableDlg, TableListSelectHdl, void*, /*EMPTY_ARG*/ ) IMPL_LINK_NOARG( OAddTableDlg, TableListSelectHdl )
{ {
m_pAddButton->Enable( m_xCurrentList->isLeafSelected() ); m_pAddButton->Enable( m_xCurrentList->isLeafSelected() );
return 0; return 0;
@ -447,7 +447,7 @@ IMPL_LINK( OAddTableDlg, CloseClickHdl, Button*, /*pButton*/ )
return int(Close()); return int(Close());
} }
IMPL_LINK( OAddTableDlg, OnTypeSelected, void*, /*EMPTY_ARG*/ ) IMPL_LINK_NOARG( OAddTableDlg, OnTypeSelected )
{ {
if ( m_pCaseTables->IsChecked() ) if ( m_pCaseTables->IsChecked() )
impl_switchTo( Tables ); impl_switchTo( Tables );

View File

@ -935,7 +935,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
m_aAsyncCaller.Call( NULL ); m_aAsyncCaller.Call( NULL );
} }
IMPL_LINK( AsyncLoader, OnOpenDocument, void*, /*_pEmptyArg*/ ) IMPL_LINK_NOARG( AsyncLoader, OnOpenDocument )
{ {
try try
{ {

View File

@ -308,25 +308,25 @@ namespace dbaui
OSL_FAIL("DirectSQLDialog::switchToHistory: invalid position!"); OSL_FAIL("DirectSQLDialog::switchToHistory: invalid position!");
} }
IMPL_LINK( DirectSQLDialog, OnStatementModified, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DirectSQLDialog, OnStatementModified )
{ {
m_pExecute->Enable(!m_pSQL->GetText().isEmpty()); m_pExecute->Enable(!m_pSQL->GetText().isEmpty());
return 0L; return 0L;
} }
IMPL_LINK( DirectSQLDialog, OnClose, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DirectSQLDialog, OnClose )
{ {
EndDialog( RET_OK ); EndDialog( RET_OK );
return 0L; return 0L;
} }
IMPL_LINK( DirectSQLDialog, OnExecute, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DirectSQLDialog, OnExecute )
{ {
executeCurrent(); executeCurrent();
return 0L; return 0L;
} }
IMPL_LINK( DirectSQLDialog, OnListEntrySelected, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DirectSQLDialog, OnListEntrySelected )
{ {
if (!m_pSQLHistory->IsTravelSelect()) if (!m_pSQLHistory->IsTravelSelect())
{ {

View File

@ -124,7 +124,7 @@ IMPL_LINK_NOARG(ODatasourceSelectDialog, ManageClickHdl)
return 0L; return 0L;
} }
IMPL_LINK( ODatasourceSelectDialog, ManageProcessFinished, void*, /**/ ) IMPL_LINK_NOARG( ODatasourceSelectDialog, ManageProcessFinished )
{ {
StringBag aOdbcDatasources; StringBag aOdbcDatasources;
OOdbcEnumeration aEnumeration; OOdbcEnumeration aEnumeration;

View File

@ -557,7 +557,7 @@ namespace dbaui
OnResetIndex(); OnResetIndex();
} }
IMPL_LINK( DbaIndexDialog, OnCloseDialog, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DbaIndexDialog, OnCloseDialog )
{ {
if (m_pIndexList->IsEditingActive()) if (m_pIndexList->IsEditingActive())
{ {
@ -733,7 +733,7 @@ namespace dbaui
return true; return true;
} }
IMPL_LINK( DbaIndexDialog, OnModified, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( DbaIndexDialog, OnModified )
{ {
OSL_ENSURE(m_pPreviousSelection, "DbaIndexDialog, OnModified: invalid call!"); OSL_ENSURE(m_pPreviousSelection, "DbaIndexDialog, OnModified: invalid call!");
Indexes::iterator aPosition = m_pIndexes->begin() + reinterpret_cast<sal_IntPtr>(m_pPreviousSelection->GetUserData()); Indexes::iterator aPosition = m_pIndexes->begin() + reinterpret_cast<sal_IntPtr>(m_pPreviousSelection->GetUserData());

View File

@ -257,7 +257,7 @@ IMPL_LINK( OWizNameMatching, RightButtonClickHdl, Button *, pButton )
return 0; return 0;
} }
IMPL_LINK( OWizNameMatching, TableListClickHdl, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( OWizNameMatching, TableListClickHdl )
{ {
SvTreeListEntry* pEntry = m_pCTRL_LEFT->FirstSelected(); SvTreeListEntry* pEntry = m_pCTRL_LEFT->FirstSelected();
if(pEntry) if(pEntry)
@ -291,7 +291,7 @@ IMPL_LINK( OWizNameMatching, TableListClickHdl, void*, /*NOTINTERESTEDIN*/ )
return 0; return 0;
} }
IMPL_LINK( OWizNameMatching, TableListRightSelectHdl, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( OWizNameMatching, TableListRightSelectHdl )
{ {
SvTreeListEntry* pEntry = m_pCTRL_RIGHT->FirstSelected(); SvTreeListEntry* pEntry = m_pCTRL_RIGHT->FirstSelected();
if(pEntry) if(pEntry)

View File

@ -57,7 +57,7 @@ namespace dbaui
DECL_LINK( onExecute, void* ); DECL_LINK( onExecute, void* );
}; };
IMPL_LINK( DialogExecutor_Impl, onExecute, void*, /* _notInterestedIn */ ) IMPL_LINK_NOARG( DialogExecutor_Impl, onExecute )
{ {
try try
{ {

View File

@ -2528,7 +2528,7 @@ void OQueryDesignView::dispose()
OQueryView::dispose(); OQueryView::dispose();
} }
IMPL_LINK( OQueryDesignView, SplitHdl, void*, /*p*/ ) IMPL_LINK_NOARG( OQueryDesignView, SplitHdl )
{ {
if (!getController().isReadOnly()) if (!getController().isReadOnly())
{ {

View File

@ -275,14 +275,14 @@ sal_Int8 OTableWindowListBox::AcceptDrop( const AcceptDropEvent& _rEvt )
return nDND_Action; return nDND_Action;
} }
IMPL_LINK( OTableWindowListBox, LookForUiHdl, void *, /*EMPTY_ARG*/) IMPL_LINK_NOARG( OTableWindowListBox, LookForUiHdl )
{ {
m_nUiEvent = 0; m_nUiEvent = 0;
m_pTabWin->getTableView()->lookForUiActivities(); m_pTabWin->getTableView()->lookForUiActivities();
return 0L; return 0L;
} }
IMPL_LINK( OTableWindowListBox, DropHdl, void *, /*EMPTY_ARG*/) IMPL_LINK_NOARG( OTableWindowListBox, DropHdl )
{ {
// create the connection // create the connection
m_nDropEvent = 0; m_nDropEvent = 0;

View File

@ -133,7 +133,7 @@ namespace dbaui
if(m_pViewSwitch) if(m_pViewSwitch)
m_pViewSwitch->GrabFocus(); m_pViewSwitch->GrabFocus();
} }
IMPL_LINK( OQueryContainerWindow, SplitHdl, void*, /*p*/ ) IMPL_LINK_NOARG( OQueryContainerWindow, SplitHdl )
{ {
m_pSplitter->SetPosPixel( Point( m_pSplitter->GetPosPixel().X(),m_pSplitter->GetSplitPosPixel() ) ); m_pSplitter->SetPosPixel( Point( m_pSplitter->GetPosPixel().X(),m_pSplitter->GetSplitPosPixel() ) );
Resize(); Resize();

View File

@ -1967,7 +1967,7 @@ void OQueryController::setEscapeProcessing_fireEvent( const bool _bEscapeProcess
fire( &nHandle, &aNewValue, &aOldValue, 1, sal_False ); fire( &nHandle, &aNewValue, &aOldValue, 1, sal_False );
} }
IMPL_LINK( OQueryController, OnExecuteAddTable, void*, /*pNotInterestedIn*/ ) IMPL_LINK_NOARG( OQueryController, OnExecuteAddTable )
{ {
Execute( ID_BROWSER_ADDTABLE,Sequence<PropertyValue>() ); Execute( ID_BROWSER_ADDTABLE,Sequence<PropertyValue>() );
return 0L; return 0L;

View File

@ -467,7 +467,7 @@ void ORelationController::mergeData(const TTableConnectionData& _aConnectionData
} }
} }
IMPL_LINK( ORelationController, OnThreadFinished, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( ORelationController, OnThreadFinished )
{ {
::SolarMutexGuard aSolarGuard; ::SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() ); ::osl::MutexGuard aGuard( getMutex() );

View File

@ -624,7 +624,7 @@ bool OTableEditorCtrl::CursorMoving(long nNewRow, sal_uInt16 nNewCol)
return true; return true;
} }
IMPL_LINK( OTableEditorCtrl, InvalidateFieldType, void*, /*EMPTYTAG*/ ) IMPL_LINK_NOARG( OTableEditorCtrl, InvalidateFieldType )
{ {
nInvalidateTypeEvent = 0; nInvalidateTypeEvent = 0;
Invalidate( GetFieldRectPixel(nOldDataPos, FIELD_TYPE) ); Invalidate( GetFieldRectPixel(nOldDataPos, FIELD_TYPE) );
@ -1456,14 +1456,14 @@ void OTableEditorCtrl::Command(const CommandEvent& rEvt)
} }
IMPL_LINK( OTableEditorCtrl, DelayedCut, void*, /*EMPTYTAG*/ ) IMPL_LINK_NOARG( OTableEditorCtrl, DelayedCut )
{ {
nCutEvent = 0; nCutEvent = 0;
OTableRowView::cut(); OTableRowView::cut();
return 0; return 0;
} }
IMPL_LINK( OTableEditorCtrl, DelayedPaste, void*, /*EMPTYTAG*/ ) IMPL_LINK_NOARG( OTableEditorCtrl, DelayedPaste )
{ {
nPasteEvent = 0; nPasteEvent = 0;
@ -1491,14 +1491,14 @@ IMPL_LINK( OTableEditorCtrl, DelayedPaste, void*, /*EMPTYTAG*/ )
return 0; return 0;
} }
IMPL_LINK( OTableEditorCtrl, DelayedDelete, void*, /*EMPTYTAG*/ ) IMPL_LINK_NOARG( OTableEditorCtrl, DelayedDelete )
{ {
nDeleteEvent = 0; nDeleteEvent = 0;
DeleteRows(); DeleteRows();
return 0; return 0;
} }
IMPL_LINK( OTableEditorCtrl, DelayedInsNewRows, void*, /*EMPTYTAG*/ ) IMPL_LINK_NOARG( OTableEditorCtrl, DelayedInsNewRows )
{ {
nInsNewRowsEvent = 0; nInsNewRowsEvent = 0;
sal_Int32 nPastePosition = GetView()->getController().getFirstEmptyRowPosition(); sal_Int32 nPastePosition = GetView()->getController().getFirstEmptyRowPosition();

View File

@ -29,7 +29,7 @@ void MainThreadExecutor_Impl::execute()
Application::PostUserEvent( LINK( this, MainThreadExecutor_Impl, executor ), NULL ); Application::PostUserEvent( LINK( this, MainThreadExecutor_Impl, executor ), NULL );
} }
IMPL_LINK( MainThreadExecutor_Impl, executor, void*, pDummyParam ) IMPL_LINK_NOARG( MainThreadExecutor_Impl, executor )
{ {
if ( m_xJob.is() ) if ( m_xJob.is() )
{ {

View File

@ -182,7 +182,7 @@ namespace abp
} }
IMPL_LINK( OAddessBookSourcePilot, OnCancelClicked, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( OAddessBookSourcePilot, OnCancelClicked )
{ {
// do cleanups // do cleanups
implCleanup(); implCleanup();

View File

@ -83,7 +83,7 @@ namespace abp
return AddressBookSourcePage::canAdvance() && getDialog()->getDataSource().isConnected(); return AddressBookSourcePage::canAdvance() && getDialog()->getDataSource().isConnected();
} }
IMPL_LINK( AdminDialogInvokationPage, OnInvokeAdminDialog, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( AdminDialogInvokationPage, OnInvokeAdminDialog )
{ {
OAdminDialogInvokation aInvokation( getORB(), getDialog()->getDataSource().getDataSource(), getDialog() ); OAdminDialogInvokation aInvokation( getORB(), getDialog()->getDataSource().getDataSource(), getDialog() );
if ( aInvokation.invokeAdministration( AST_LDAP == getSettings().eType ) ) if ( aInvokation.invokeAdministration( AST_LDAP == getSettings().eType ) )

View File

@ -79,7 +79,7 @@ namespace abp
} }
IMPL_LINK( FieldMappingPage, OnInvokeDialog, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( FieldMappingPage, OnInvokeDialog )
{ {
AddressSettings& rSettings = getSettings(); AddressSettings& rSettings = getSettings();

View File

@ -262,7 +262,7 @@ namespace abp
} }
IMPL_LINK( TypeSelectionPage, OnTypeSelected, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( TypeSelectionPage, OnTypeSelected )
{ {
getDialog()->typeSelectionChanged( getSelectedType() ); getDialog()->typeSelectionChanged( getSelectedType() );
updateDialogTravelUI(); updateDialogTravelUI();

View File

@ -272,7 +272,7 @@ namespace bib
pGridWin->GrabFocus(); pGridWin->GrabFocus();
} }
IMPL_LINK( BibBeamer, RecalcLayout_Impl, void*, /*pVoid*/ ) IMPL_LINK_NOARG( BibBeamer, RecalcLayout_Impl )
{ {
long nHeight = pToolBar->GetSizePixel().Height(); long nHeight = pToolBar->GetSizePixel().Height();
SetItemSize( ID_TOOLBAR, nHeight ); SetItemSize( ID_TOOLBAR, nHeight );

View File

@ -533,7 +533,7 @@ void BibToolBar::DataChanged( const DataChangedEvent& rDCEvt )
ToolBox::DataChanged( rDCEvt ); ToolBox::DataChanged( rDCEvt );
} }
IMPL_LINK( BibToolBar, OptionsChanged_Impl, void*, /*pVoid*/ ) IMPL_LINK_NOARG( BibToolBar, OptionsChanged_Impl )
{ {
bool bRebuildToolBar = false; bool bRebuildToolBar = false;
sal_Int16 eSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize(); sal_Int16 eSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize();
@ -557,7 +557,7 @@ IMPL_LINK( BibToolBar, OptionsChanged_Impl, void*, /*pVoid*/ )
IMPL_LINK( BibToolBar, SettingsChanged_Impl, void*, /*pVoid*/ ) IMPL_LINK_NOARG( BibToolBar, SettingsChanged_Impl )
{ {
// Check if toolbar button size have changed and we have to use system settings // Check if toolbar button size have changed and we have to use system settings
sal_Int16 eSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize(); sal_Int16 eSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize();

View File

@ -3229,7 +3229,7 @@ namespace pcr
} }
IMPL_LINK( FormComponentPropertyHandler, OnDesignerClosed, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( FormComponentPropertyHandler, OnDesignerClosed )
{ {
OSL_ENSURE( m_xBrowserUI.is() && m_xCommandDesigner.is(), "FormComponentPropertyHandler::OnDesignerClosed: too many NULLs!" ); OSL_ENSURE( m_xBrowserUI.is() && m_xCommandDesigner.is(), "FormComponentPropertyHandler::OnDesignerClosed: too many NULLs!" );
if ( m_xBrowserUI.is() && m_xCommandDesigner.is() ) if ( m_xBrowserUI.is() && m_xCommandDesigner.is() )

View File

@ -660,7 +660,7 @@ namespace pcr
} }
IMPL_LINK( FormLinkDialog, OnSuggest, void*, /*_pNotInterestedIn*/ ) IMPL_LINK_NOARG( FormLinkDialog, OnSuggest )
{ {
initializeFieldRowsFrom( m_aRelationDetailColumns, m_aRelationMasterColumns ); initializeFieldRowsFrom( m_aRelationDetailColumns, m_aRelationMasterColumns );
return 0L; return 0L;
@ -674,7 +674,7 @@ namespace pcr
} }
IMPL_LINK( FormLinkDialog, OnInitialize, void*, /*_pNotInterestedIn*/ ) IMPL_LINK_NOARG( FormLinkDialog, OnInitialize )
{ {
initializeColumnLabels(); initializeColumnLabels();
initializeFieldLists(); initializeFieldLists();

View File

@ -79,7 +79,7 @@ namespace pcr
ModalDialog::dispose(); ModalDialog::dispose();
} }
IMPL_LINK( NewDataTypeDialog, OnNameModified, void*, /*_pNotInterestedIn*/ ) IMPL_LINK_NOARG( NewDataTypeDialog, OnNameModified )
{ {
OUString sCurrentName = GetName(); OUString sCurrentName = GetName();
bool bNameIsOK = ( !sCurrentName.isEmpty() ) bool bNameIsOK = ( !sCurrentName.isEmpty() )

View File

@ -460,7 +460,7 @@ namespace pcr
} }
IMPL_LINK( OHyperlinkControl, OnHyperlinkClicked, void*, /*_NotInterestedIn*/ ) IMPL_LINK_NOARG( OHyperlinkControl, OnHyperlinkClicked )
{ {
ActionEvent aEvent( *this, OUString( "clicked" ) ); ActionEvent aEvent( *this, OUString( "clicked" ) );
m_aActionListeners.forEach< XActionListener >( m_aActionListeners.forEach< XActionListener >(
@ -945,7 +945,7 @@ namespace pcr
} }
IMPL_LINK( OComboboxControl, OnEntrySelected, void*, /*_pNothing*/ ) IMPL_LINK_NOARG( OComboboxControl, OnEntrySelected )
{ {
if ( !getTypedControlWindow()->IsTravelSelect() ) if ( !getTypedControlWindow()->IsTravelSelect() )
// fire a commit // fire a commit

View File

@ -493,7 +493,7 @@ IMPL_LINK( ImpTwain, ImplFallbackHdl, void*, pData )
return 0L; return 0L;
} }
IMPL_LINK( ImpTwain, ImplDestroyHdl, void*, /*p*/ ) IMPL_LINK_NOARG( ImpTwain, ImplDestroyHdl )
{ {
if( hTwainWnd ) if( hTwainWnd )
DestroyWindow( hTwainWnd ); DestroyWindow( hTwainWnd );

View File

@ -1025,7 +1025,7 @@ IMPL_LINK_NOARG(ImpPDFTabOpnFtrPage, ToggleRbPgLyContinueFacingHdl)
return 0; return 0;
} }
IMPL_LINK( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl, void*, ) IMPL_LINK_NOARG( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl )
{ {
mpNumZoom->Enable( mpRbMagnZoom->IsChecked() ); mpNumZoom->Enable( mpRbMagnZoom->IsChecked() );
return 0; return 0;
@ -1076,7 +1076,7 @@ void ImpPDFTabViewerPage::dispose()
SfxTabPage::dispose(); SfxTabPage::dispose();
} }
IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, ) IMPL_LINK_NOARG( ImpPDFTabViewerPage, ToggleRbBookmarksHdl )
{ {
m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() ); m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() );
return 0; return 0;

View File

@ -311,7 +311,7 @@ namespace frm
} }
IMPL_LINK( RichTextControlImpl, OnInvalidateAllAttributes, void*, /*_pNotInterestedIn*/ ) IMPL_LINK_NOARG( RichTextControlImpl, OnInvalidateAllAttributes )
{ {
updateAllAttributes(); updateAllAttributes();
return 0L; return 0L;

View File

@ -549,7 +549,7 @@ namespace frm
} }
IMPL_LINK( ORichTextModel, OnEngineContentModified, void*, /*_pNotInterestedIn*/ ) IMPL_LINK_NOARG( ORichTextModel, OnEngineContentModified )
{ {
if ( !m_bSettingEngineText ) if ( !m_bSettingEngineText )
{ {

View File

@ -175,7 +175,7 @@ Image PlacesListBox::getEntryIcon( PlacePtr pPlace )
return theImage; return theImage;
} }
IMPL_LINK( PlacesListBox, Selection, void* , ) IMPL_LINK_NOARG( PlacesListBox, Selection )
{ {
sal_uInt32 nSelected = mpImpl->GetCurrRow(); sal_uInt32 nSelected = mpImpl->GetCurrRow();
PlacePtr pPlace = maPlaces[nSelected]; PlacePtr pPlace = maPlaces[nSelected];

View File

@ -1221,8 +1221,7 @@ IMPL_LINK_NOARG( SvtFileDialog, FilterSelectHdl_Impl )
return 0; return 0;
} }
IMPL_LINK_TYPED( IMPL_LINK_NOARG_TYPED(SvtFileDialog, FilterSelectTimerHdl_Impl, Timer*, void)
SvtFileDialog, FilterSelectTimerHdl_Impl, Timer*,, void)
{ {
// filter the view again // filter the view again
ExecuteFilter(); ExecuteFilter();

View File

@ -494,14 +494,14 @@ void OAddFieldWindow::_elementReplaced( const container::ContainerEvent& /*_rEve
{ {
} }
IMPL_LINK( OAddFieldWindow, OnSelectHdl, void* ,/*_pAddFieldDlg*/) IMPL_LINK_NOARG( OAddFieldWindow, OnSelectHdl )
{ {
m_aActions->EnableItem(SID_ADD_CONTROL_PAIR, ( m_pListBox.get() && m_pListBox->GetSelectionCount() > 0 )); m_aActions->EnableItem(SID_ADD_CONTROL_PAIR, ( m_pListBox.get() && m_pListBox->GetSelectionCount() > 0 ));
return 0L; return 0L;
} }
IMPL_LINK( OAddFieldWindow, OnDoubleClickHdl, void* ,/*_pAddFieldDlg*/) IMPL_LINK_NOARG( OAddFieldWindow, OnDoubleClickHdl )
{ {
if ( m_aCreateLink.IsSet() ) if ( m_aCreateLink.IsSet() )
m_aCreateLink.Call(this); m_aCreateLink.Call(this);

View File

@ -871,7 +871,7 @@ void OFieldExpressionControl::paste()
} }
} }
IMPL_LINK( OFieldExpressionControl, DelayedPaste, void*, ) IMPL_LINK_NOARG( OFieldExpressionControl, DelayedPaste )
{ {
m_nPasteEvent = 0; m_nPasteEvent = 0;
@ -884,7 +884,7 @@ IMPL_LINK( OFieldExpressionControl, DelayedPaste, void*, )
return 0; return 0;
} }
IMPL_LINK( OFieldExpressionControl, DelayedDelete, void*, ) IMPL_LINK_NOARG( OFieldExpressionControl, DelayedDelete )
{ {
m_nDeleteEvent = 0; m_nDeleteEvent = 0;
DeleteRows(); DeleteRows();

View File

@ -406,7 +406,7 @@ void ODesignView::ImplInitSettings()
SetTextFillColor( Application::GetSettings().GetStyleSettings().GetFaceColor() ); SetTextFillColor( Application::GetSettings().GetStyleSettings().GetFaceColor() );
} }
IMPL_LINK( ODesignView, SplitHdl, void*, ) IMPL_LINK_NOARG( ODesignView, SplitHdl )
{ {
const Size aOutputSize = GetOutputSizePixel(); const Size aOutputSize = GetOutputSizePixel();
const long nTest = aOutputSize.Width() * m_aSplitWin->GetItemSize(TASKPANE_ID) / 100; const long nTest = aOutputSize.Width() * m_aSplitWin->GetItemSize(TASKPANE_ID) / 100;

View File

@ -1747,7 +1747,7 @@ void OReportController::impl_initialize( )
} }
} }
IMPL_LINK( OReportController, OnOpenHelpAgent, void* ,/*_pMemfun*/) IMPL_LINK_NOARG( OReportController, OnOpenHelpAgent )
{ {
doOpenHelpAgent(); doOpenHelpAgent();
return 0L; return 0L;
@ -3149,7 +3149,7 @@ void OReportController::createNewFunction(const uno::Any& _aValue)
xFunctions->insertByIndex(xFunctions->getCount(),uno::makeAny(xFunction)); xFunctions->insertByIndex(xFunctions->getCount(),uno::makeAny(xFunction));
} }
IMPL_LINK( OReportController, OnExecuteReport, void* ,/*_pMemfun*/) IMPL_LINK_NOARG( OReportController, OnExecuteReport )
{ {
executeReport(); executeReport();
return 0L; return 0L;

View File

@ -569,7 +569,7 @@ void PropBrw::Update( const uno::Reference< uno::XInterface>& _xReportComponent)
} }
} }
IMPL_LINK( PropBrw, OnAsyncGetFocus, void*, ) IMPL_LINK_NOARG( PropBrw, OnAsyncGetFocus )
{ {
if (m_xBrowserComponentWindow.is()) if (m_xBrowserComponentWindow.is())
m_xBrowserComponentWindow->setFocus(); m_xBrowserComponentWindow->setFocus();

View File

@ -111,7 +111,7 @@ void ChangeRequestQueueProcessor::StartProcessing()
} }
} }
IMPL_LINK(ChangeRequestQueueProcessor, ProcessEvent, void*, pUnused) IMPL_LINK_NOARG(ChangeRequestQueueProcessor, ProcessEvent)
{ {
(void)pUnused; (void)pUnused;

View File

@ -1157,9 +1157,8 @@ void FileDialogHelper_Impl::setControlHelpIds( const sal_Int16* _pControlId, con
} }
} }
IMPL_LINK( FileDialogHelper_Impl, InitControls, void*, NOTINTERESTEDIN ) IMPL_LINK_NOARG( FileDialogHelper_Impl, InitControls )
{ {
(void)NOTINTERESTEDIN;
mnPostUserEventId = 0; mnPostUserEventId = 0;
enablePasswordBox( true ); enablePasswordBox( true );
updateFilterOptionsBox( ); updateFilterOptionsBox( );

View File

@ -455,7 +455,7 @@ void AsyncAccelExec::execAsync()
} }
IMPL_LINK(AsyncAccelExec, impl_ts_asyncCallback, void*,) IMPL_LINK_NOARG(AsyncAccelExec, impl_ts_asyncCallback)
{ {
if (! m_xDispatch.is()) if (! m_xDispatch.is())
return 0; return 0;

View File

@ -2413,7 +2413,7 @@ namespace svt { namespace table
} }
IMPL_LINK( TableControl_Impl, OnUpdateScrollbars, void*, /**/ ) IMPL_LINK_NOARG( TableControl_Impl, OnUpdateScrollbars )
{ {
// TODO: can't we simply use lcl_updateScrollbar here, so the scrollbars ranges are updated, instead of // TODO: can't we simply use lcl_updateScrollbar here, so the scrollbars ranges are updated, instead of
// doing a complete re-layout? // doing a complete re-layout?

View File

@ -375,7 +375,7 @@ sal_Int8 FmGridHeader::ExecuteDrop( const ExecuteDropEvent& _rEvt )
return DND_ACTION_LINK; return DND_ACTION_LINK;
} }
IMPL_LINK( FmGridHeader, OnAsyncExecuteDrop, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( FmGridHeader, OnAsyncExecuteDrop )
{ {
OUString sCommand, sFieldName,sURL; OUString sCommand, sFieldName,sURL;
sal_Int32 nCommandType = CommandType::COMMAND; sal_Int32 nCommandType = CommandType::COMMAND;

View File

@ -2846,7 +2846,7 @@ void DbGridControl::Command(const CommandEvent& rEvt)
} }
} }
IMPL_LINK(DbGridControl, OnDelete, void*, /*EMPTYTAG*/ ) IMPL_LINK_NOARG(DbGridControl, OnDelete)
{ {
m_nDeleteEvent = 0; m_nDeleteEvent = 0;
DeleteSelectedRows(); DeleteSelectedRows();

View File

@ -485,7 +485,7 @@ void FmPropBrw::FillInfo( SfxChildWinInfo& rInfo ) const
} }
IMPL_LINK( FmPropBrw, OnAsyncGetFocus, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( FmPropBrw, OnAsyncGetFocus )
{ {
if (m_xBrowserComponentWindow.is()) if (m_xBrowserComponentWindow.is())
m_xBrowserComponentWindow->setFocus(); m_xBrowserComponentWindow->setFocus();

View File

@ -3622,7 +3622,7 @@ void FmXFormShell::viewDeactivated( FmFormView& _rCurrentView, bool _bDeactivate
} }
IMPL_LINK( FmXFormShell, OnFirstTimeActivation, void*, /*NOTINTERESTEDIN*/ ) IMPL_LINK_NOARG( FmXFormShell, OnFirstTimeActivation )
{ {
if ( impl_checkDisposed() ) if ( impl_checkDisposed() )
return 0L; return 0L;

View File

@ -608,7 +608,7 @@ void FmXFormView::displayAsyncErrorMessage( const SQLErrorEvent& _rEvent )
} }
IMPL_LINK(FmXFormView, OnDelayedErrorMessage, void*, /*EMPTYTAG*/) IMPL_LINK_NOARG(FmXFormView, OnDelayedErrorMessage)
{ {
m_nErrorMessageEvent = 0; m_nErrorMessageEvent = 0;
displayException( m_aAsyncError ); displayException( m_aAsyncError );
@ -657,7 +657,7 @@ void FmXFormView::resumeTabOrderUpdate()
} }
IMPL_LINK(FmXFormView, OnActivate, void*, /*EMPTYTAG*/) IMPL_LINK_NOARG(FmXFormView, OnActivate)
{ {
m_nActivationEvent = 0; m_nActivationEvent = 0;
@ -895,7 +895,7 @@ Reference< XFormController > FmXFormView::getFormController( const Reference< XF
} }
IMPL_LINK(FmXFormView, OnAutoFocus, void*, /*EMPTYTAG*/) IMPL_LINK_NOARG(FmXFormView, OnAutoFocus)
{ {
m_nAutoFocusEvent = 0; m_nAutoFocusEvent = 0;
@ -1017,7 +1017,7 @@ void FmXFormView::breakCreateFormObject()
m_xLastCreatedControlModel.clear(); m_xLastCreatedControlModel.clear();
} }
IMPL_LINK( FmXFormView, OnStartControlWizard, void*, /**/ ) IMPL_LINK_NOARG( FmXFormView, OnStartControlWizard )
{ {
m_nControlWizardEvent = 0; m_nControlWizardEvent = 0;
OSL_PRECOND( m_xLastCreatedControlModel.is(), "FmXFormView::OnStartControlWizard: illegal call!" ); OSL_PRECOND( m_xLastCreatedControlModel.is(), "FmXFormView::OnStartControlWizard: illegal call!" );

View File

@ -1757,7 +1757,7 @@ void FormController::focusGained(const FocusEvent& e) throw( RuntimeException, s
} }
IMPL_LINK( FormController, OnActivated, void*, /**/ ) IMPL_LINK_NOARG( FormController, OnActivated )
{ {
EventObject aEvent; EventObject aEvent;
aEvent.Source = *this; aEvent.Source = *this;
@ -1767,7 +1767,7 @@ IMPL_LINK( FormController, OnActivated, void*, /**/ )
} }
IMPL_LINK( FormController, OnDeactivated, void*, /**/ ) IMPL_LINK_NOARG( FormController, OnDeactivated )
{ {
EventObject aEvent; EventObject aEvent;
aEvent.Source = *this; aEvent.Source = *this;

View File

@ -427,7 +427,7 @@ void PosSizePropertyPanel::HandleContextChange(
IMPL_LINK( PosSizePropertyPanel, ChangeWidthHdl, void*, /*pBox*/ ) IMPL_LINK_NOARG( PosSizePropertyPanel, ChangeWidthHdl )
{ {
if( mpCbxScale->IsChecked() && if( mpCbxScale->IsChecked() &&
mpCbxScale->IsEnabled() ) mpCbxScale->IsEnabled() )

View File

@ -489,7 +489,7 @@ SwHTMLParser::~SwHTMLParser()
} }
} }
IMPL_LINK( SwHTMLParser, AsyncCallback, void*, /*pVoid*/ ) IMPL_LINK_NOARG( SwHTMLParser, AsyncCallback )
{ {
nEventId=0; nEventId=0;

View File

@ -695,7 +695,7 @@ bool SwColumnPage::FillItemSet(SfxItemSet *rSet)
} }
// update ColumnManager // update ColumnManager
IMPL_LINK( SwColumnPage, UpdateColMgr, void *, /*pField*/ ) IMPL_LINK_NOARG( SwColumnPage, UpdateColMgr )
{ {
long nGutterWidth = pColMgr->GetGutterWidth(); long nGutterWidth = pColMgr->GetGutterWidth();
if(nCols > 1) if(nCols > 1)

View File

@ -1877,7 +1877,7 @@ void SwPostItMgr::SetActiveSidebarWin( SwSidebarWin* p)
} }
} }
IMPL_LINK( SwPostItMgr, CalcHdl, void*, /* pVoid*/ ) IMPL_LINK_NOARG( SwPostItMgr, CalcHdl )
{ {
mnEventId = 0; mnEventId = 0;
if ( mbLayouting ) if ( mbLayouting )