Use IMPL_LINK_NOARG[_TYPED] where applicable
Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
This commit is contained in:
parent
892cb24be6
commit
6dc42c82ba
@ -340,7 +340,7 @@ void ErrorBarResources::UpdateControlStates()
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK( ErrorBarResources, CategoryChosen, void *, )
|
||||
IMPL_LINK_NOARG( ErrorBarResources, CategoryChosen )
|
||||
{
|
||||
m_bErrorKindUnique = true;
|
||||
SvxChartKindError eOldError = m_eErrorKind;
|
||||
|
@ -735,10 +735,8 @@ void OfaViewTabPage::dispose()
|
||||
}
|
||||
|
||||
#if defined( UNX )
|
||||
IMPL_LINK( OfaViewTabPage, OnAntialiasingToggled, void*, NOTINTERESTEDIN )
|
||||
IMPL_LINK_NOARG( OfaViewTabPage, OnAntialiasingToggled )
|
||||
{
|
||||
(void)NOTINTERESTEDIN;
|
||||
|
||||
bool bAAEnabled = m_pFontAntiAliasing->IsChecked();
|
||||
|
||||
m_pAAPointLimitLabel->Enable( bAAEnabled );
|
||||
@ -749,9 +747,8 @@ IMPL_LINK( OfaViewTabPage, OnAntialiasingToggled, void*, NOTINTERESTEDIN )
|
||||
#endif
|
||||
|
||||
// #i97672#
|
||||
IMPL_LINK( OfaViewTabPage, OnSelectionToggled, void*, NOTINTERESTEDIN )
|
||||
IMPL_LINK_NOARG( OfaViewTabPage, OnSelectionToggled )
|
||||
{
|
||||
(void)NOTINTERESTEDIN;
|
||||
const bool bSelectionEnabled(m_pSelectionCB->IsChecked());
|
||||
m_pSelectionMF->Enable(bSelectionEnabled);
|
||||
return 0;
|
||||
|
@ -278,7 +278,7 @@ namespace dbmm
|
||||
return MacroMigrationDialog_Base::onFinish();
|
||||
}
|
||||
|
||||
IMPL_LINK( MacroMigrationDialog, OnStartMigration, void*, /*_pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( MacroMigrationDialog, OnStartMigration )
|
||||
{
|
||||
// prevent closing
|
||||
m_pData->bMigrationIsRunning = true;
|
||||
|
@ -562,7 +562,7 @@ void DBContentLoader::cancel() throw(std::exception)
|
||||
{
|
||||
}
|
||||
|
||||
IMPL_LINK( DBContentLoader, OnStartTableWizard, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DBContentLoader, OnStartTableWizard )
|
||||
{
|
||||
m_nStartWizard = 0;
|
||||
try
|
||||
|
@ -796,7 +796,7 @@ bool OApplicationController::isTableFormat() const
|
||||
return OTableCopyHelper::isTableFormat(getViewClipboard());
|
||||
}
|
||||
|
||||
IMPL_LINK( OApplicationController, OnAsyncDrop, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OApplicationController, OnAsyncDrop )
|
||||
{
|
||||
m_nAsyncDrop = 0;
|
||||
SolarMutexGuard aSolarGuard;
|
||||
|
@ -911,31 +911,31 @@ IMPL_LINK(OAppDetailPageHelper, OnEntryDoubleClick, SvTreeListBox*, _pTree)
|
||||
return bHandled ? 1L : 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK(OAppDetailPageHelper, OnEntrySelChange, void*, /*NOINTERESTEDIN*/)
|
||||
IMPL_LINK_NOARG(OAppDetailPageHelper, OnEntrySelChange)
|
||||
{
|
||||
getBorderWin().getView()->getAppController().onSelectionChanged();
|
||||
return 1L;
|
||||
}
|
||||
|
||||
IMPL_LINK( OAppDetailPageHelper, OnCutEntry, void*, /*NOINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OAppDetailPageHelper, OnCutEntry )
|
||||
{
|
||||
getBorderWin().getView()->getAppController().onCutEntry();
|
||||
return 1L;
|
||||
}
|
||||
|
||||
IMPL_LINK( OAppDetailPageHelper, OnCopyEntry, void*, /*NOINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OAppDetailPageHelper, OnCopyEntry )
|
||||
{
|
||||
getBorderWin().getView()->getAppController().onCopyEntry();
|
||||
return 1L;
|
||||
}
|
||||
|
||||
IMPL_LINK( OAppDetailPageHelper, OnPasteEntry, void*, /*NOINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OAppDetailPageHelper, OnPasteEntry )
|
||||
{
|
||||
getBorderWin().getView()->getAppController().onPasteEntry();
|
||||
return 1L;
|
||||
}
|
||||
|
||||
IMPL_LINK( OAppDetailPageHelper, OnDeleteEntry, void*, /*NOINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OAppDetailPageHelper, OnDeleteEntry )
|
||||
{
|
||||
getBorderWin().getView()->getAppController().onDeleteEntry();
|
||||
return 1L;
|
||||
|
@ -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() )
|
||||
{
|
||||
|
@ -139,7 +139,7 @@ void UnoDataBrowserView::dispose()
|
||||
ODataView::dispose();
|
||||
}
|
||||
|
||||
IMPL_LINK( UnoDataBrowserView, SplitHdl, void*, /*NOINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( UnoDataBrowserView, SplitHdl )
|
||||
{
|
||||
long nYPos = m_pSplitter->GetPosPixel().Y();
|
||||
m_pSplitter->SetPosPixel( Point( m_pSplitter->GetSplitPosPixel(), nYPos ) );
|
||||
|
@ -193,7 +193,7 @@ namespace dbaui
|
||||
|
||||
return NULL != pTransfer;
|
||||
}
|
||||
IMPL_LINK(SbaTableQueryBrowser, OnCopyEntry, void*, /*NOTINTERESIN*/)
|
||||
IMPL_LINK_NOARG(SbaTableQueryBrowser, OnCopyEntry)
|
||||
{
|
||||
SvTreeListEntry* pSelected = m_pTreeView->getListBox().FirstSelected();
|
||||
if( isEntryCopyAllowed( pSelected ) )
|
||||
@ -215,7 +215,7 @@ namespace dbaui
|
||||
if (pTransfer)
|
||||
pTransfer->CopyToClipboard(getView());
|
||||
}
|
||||
IMPL_LINK( SbaTableQueryBrowser, OnAsyncDrop, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( SbaTableQueryBrowser, OnAsyncDrop )
|
||||
{
|
||||
m_nAsyncDrop = 0;
|
||||
SolarMutexGuard aSolarGuard;
|
||||
|
@ -361,7 +361,7 @@ Reference< ::com::sun::star::frame::XDispatch > SAL_CALL SbaXGridPeer::queryDis
|
||||
return FmXGridPeer::queryDispatch(aURL, aTargetFrameName, nSearchFlags);
|
||||
}
|
||||
|
||||
IMPL_LINK( SbaXGridPeer, OnDispatchEvent, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( SbaXGridPeer, OnDispatchEvent )
|
||||
{
|
||||
VclPtr< SbaGridControl > pGrid = GetAs< SbaGridControl >();
|
||||
if ( pGrid ) // if this fails, we were disposing before arriving here
|
||||
@ -1444,7 +1444,7 @@ Reference< XPropertySet > SbaGridControl::getDataSource() const
|
||||
return xReturn;
|
||||
}
|
||||
|
||||
IMPL_LINK(SbaGridControl, AsynchDropEvent, void*, /*EMPTY_ARG*/)
|
||||
IMPL_LINK_NOARG(SbaGridControl, AsynchDropEvent)
|
||||
{
|
||||
m_nAsyncDropEvent = 0;
|
||||
|
||||
|
@ -2491,7 +2491,7 @@ bool SbaTableQueryBrowser::implSelect(const OUString& _rDataSourceName, const OU
|
||||
return false;
|
||||
}
|
||||
|
||||
IMPL_LINK(SbaTableQueryBrowser, OnSelectionChange, void*, /*NOINTERESTEDIN*/)
|
||||
IMPL_LINK_NOARG(SbaTableQueryBrowser, OnSelectionChange)
|
||||
{
|
||||
return implSelect( m_pTreeView->getListBox().FirstSelected() ) ? 1L : 0L;
|
||||
}
|
||||
|
@ -177,7 +177,7 @@ IMPL_LINK_NOARG_TYPED(OSqlEdit, OnInvalidateTimer, Timer *, void)
|
||||
m_timerInvalidate.Start();
|
||||
}
|
||||
|
||||
IMPL_LINK(OSqlEdit, ModifyHdl, void*, /*EMPTYTAG*/)
|
||||
IMPL_LINK_NOARG(OSqlEdit, ModifyHdl)
|
||||
{
|
||||
if (m_timerUndoActionCreation.IsActive())
|
||||
m_timerUndoActionCreation.Stop();
|
||||
|
@ -423,7 +423,7 @@ IMPL_LINK( OAddTableDlg, AddClickHdl, Button*, /*pButton*/ )
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OAddTableDlg, TableListDoubleClickHdl, void*, /*EMPTY_ARG*/ )
|
||||
IMPL_LINK_NOARG( OAddTableDlg, TableListDoubleClickHdl )
|
||||
{
|
||||
if ( impl_isAddAllowed() )
|
||||
{
|
||||
@ -436,7 +436,7 @@ IMPL_LINK( OAddTableDlg, TableListDoubleClickHdl, void*, /*EMPTY_ARG*/ )
|
||||
return 0L; // not handled
|
||||
}
|
||||
|
||||
IMPL_LINK( OAddTableDlg, TableListSelectHdl, void*, /*EMPTY_ARG*/ )
|
||||
IMPL_LINK_NOARG( OAddTableDlg, TableListSelectHdl )
|
||||
{
|
||||
m_pAddButton->Enable( m_xCurrentList->isLeafSelected() );
|
||||
return 0;
|
||||
@ -447,7 +447,7 @@ IMPL_LINK( OAddTableDlg, CloseClickHdl, Button*, /*pButton*/ )
|
||||
return int(Close());
|
||||
}
|
||||
|
||||
IMPL_LINK( OAddTableDlg, OnTypeSelected, void*, /*EMPTY_ARG*/ )
|
||||
IMPL_LINK_NOARG( OAddTableDlg, OnTypeSelected )
|
||||
{
|
||||
if ( m_pCaseTables->IsChecked() )
|
||||
impl_switchTo( Tables );
|
||||
|
@ -935,7 +935,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
|
||||
m_aAsyncCaller.Call( NULL );
|
||||
}
|
||||
|
||||
IMPL_LINK( AsyncLoader, OnOpenDocument, void*, /*_pEmptyArg*/ )
|
||||
IMPL_LINK_NOARG( AsyncLoader, OnOpenDocument )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -308,25 +308,25 @@ namespace dbaui
|
||||
OSL_FAIL("DirectSQLDialog::switchToHistory: invalid position!");
|
||||
}
|
||||
|
||||
IMPL_LINK( DirectSQLDialog, OnStatementModified, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DirectSQLDialog, OnStatementModified )
|
||||
{
|
||||
m_pExecute->Enable(!m_pSQL->GetText().isEmpty());
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( DirectSQLDialog, OnClose, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DirectSQLDialog, OnClose )
|
||||
{
|
||||
EndDialog( RET_OK );
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( DirectSQLDialog, OnExecute, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DirectSQLDialog, OnExecute )
|
||||
{
|
||||
executeCurrent();
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( DirectSQLDialog, OnListEntrySelected, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DirectSQLDialog, OnListEntrySelected )
|
||||
{
|
||||
if (!m_pSQLHistory->IsTravelSelect())
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ IMPL_LINK_NOARG(ODatasourceSelectDialog, ManageClickHdl)
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( ODatasourceSelectDialog, ManageProcessFinished, void*, /**/ )
|
||||
IMPL_LINK_NOARG( ODatasourceSelectDialog, ManageProcessFinished )
|
||||
{
|
||||
StringBag aOdbcDatasources;
|
||||
OOdbcEnumeration aEnumeration;
|
||||
|
@ -557,7 +557,7 @@ namespace dbaui
|
||||
OnResetIndex();
|
||||
}
|
||||
|
||||
IMPL_LINK( DbaIndexDialog, OnCloseDialog, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DbaIndexDialog, OnCloseDialog )
|
||||
{
|
||||
if (m_pIndexList->IsEditingActive())
|
||||
{
|
||||
@ -733,7 +733,7 @@ namespace dbaui
|
||||
return true;
|
||||
}
|
||||
|
||||
IMPL_LINK( DbaIndexDialog, OnModified, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( DbaIndexDialog, OnModified )
|
||||
{
|
||||
OSL_ENSURE(m_pPreviousSelection, "DbaIndexDialog, OnModified: invalid call!");
|
||||
Indexes::iterator aPosition = m_pIndexes->begin() + reinterpret_cast<sal_IntPtr>(m_pPreviousSelection->GetUserData());
|
||||
|
@ -257,7 +257,7 @@ IMPL_LINK( OWizNameMatching, RightButtonClickHdl, Button *, pButton )
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OWizNameMatching, TableListClickHdl, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OWizNameMatching, TableListClickHdl )
|
||||
{
|
||||
SvTreeListEntry* pEntry = m_pCTRL_LEFT->FirstSelected();
|
||||
if(pEntry)
|
||||
@ -291,7 +291,7 @@ IMPL_LINK( OWizNameMatching, TableListClickHdl, void*, /*NOTINTERESTEDIN*/ )
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OWizNameMatching, TableListRightSelectHdl, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OWizNameMatching, TableListRightSelectHdl )
|
||||
{
|
||||
SvTreeListEntry* pEntry = m_pCTRL_RIGHT->FirstSelected();
|
||||
if(pEntry)
|
||||
|
@ -57,7 +57,7 @@ namespace dbaui
|
||||
DECL_LINK( onExecute, void* );
|
||||
};
|
||||
|
||||
IMPL_LINK( DialogExecutor_Impl, onExecute, void*, /* _notInterestedIn */ )
|
||||
IMPL_LINK_NOARG( DialogExecutor_Impl, onExecute )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -2528,7 +2528,7 @@ void OQueryDesignView::dispose()
|
||||
OQueryView::dispose();
|
||||
}
|
||||
|
||||
IMPL_LINK( OQueryDesignView, SplitHdl, void*, /*p*/ )
|
||||
IMPL_LINK_NOARG( OQueryDesignView, SplitHdl )
|
||||
{
|
||||
if (!getController().isReadOnly())
|
||||
{
|
||||
|
@ -275,14 +275,14 @@ sal_Int8 OTableWindowListBox::AcceptDrop( const AcceptDropEvent& _rEvt )
|
||||
return nDND_Action;
|
||||
}
|
||||
|
||||
IMPL_LINK( OTableWindowListBox, LookForUiHdl, void *, /*EMPTY_ARG*/)
|
||||
IMPL_LINK_NOARG( OTableWindowListBox, LookForUiHdl )
|
||||
{
|
||||
m_nUiEvent = 0;
|
||||
m_pTabWin->getTableView()->lookForUiActivities();
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( OTableWindowListBox, DropHdl, void *, /*EMPTY_ARG*/)
|
||||
IMPL_LINK_NOARG( OTableWindowListBox, DropHdl )
|
||||
{
|
||||
// create the connection
|
||||
m_nDropEvent = 0;
|
||||
|
@ -133,7 +133,7 @@ namespace dbaui
|
||||
if(m_pViewSwitch)
|
||||
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() ) );
|
||||
Resize();
|
||||
|
@ -1967,7 +1967,7 @@ void OQueryController::setEscapeProcessing_fireEvent( const bool _bEscapeProcess
|
||||
fire( &nHandle, &aNewValue, &aOldValue, 1, sal_False );
|
||||
}
|
||||
|
||||
IMPL_LINK( OQueryController, OnExecuteAddTable, void*, /*pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( OQueryController, OnExecuteAddTable )
|
||||
{
|
||||
Execute( ID_BROWSER_ADDTABLE,Sequence<PropertyValue>() );
|
||||
return 0L;
|
||||
|
@ -467,7 +467,7 @@ void ORelationController::mergeData(const TTableConnectionData& _aConnectionData
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK( ORelationController, OnThreadFinished, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( ORelationController, OnThreadFinished )
|
||||
{
|
||||
::SolarMutexGuard aSolarGuard;
|
||||
::osl::MutexGuard aGuard( getMutex() );
|
||||
|
@ -624,7 +624,7 @@ bool OTableEditorCtrl::CursorMoving(long nNewRow, sal_uInt16 nNewCol)
|
||||
return true;
|
||||
}
|
||||
|
||||
IMPL_LINK( OTableEditorCtrl, InvalidateFieldType, void*, /*EMPTYTAG*/ )
|
||||
IMPL_LINK_NOARG( OTableEditorCtrl, InvalidateFieldType )
|
||||
{
|
||||
nInvalidateTypeEvent = 0;
|
||||
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;
|
||||
OTableRowView::cut();
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OTableEditorCtrl, DelayedPaste, void*, /*EMPTYTAG*/ )
|
||||
IMPL_LINK_NOARG( OTableEditorCtrl, DelayedPaste )
|
||||
{
|
||||
nPasteEvent = 0;
|
||||
|
||||
@ -1491,14 +1491,14 @@ IMPL_LINK( OTableEditorCtrl, DelayedPaste, void*, /*EMPTYTAG*/ )
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OTableEditorCtrl, DelayedDelete, void*, /*EMPTYTAG*/ )
|
||||
IMPL_LINK_NOARG( OTableEditorCtrl, DelayedDelete )
|
||||
{
|
||||
nDeleteEvent = 0;
|
||||
DeleteRows();
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OTableEditorCtrl, DelayedInsNewRows, void*, /*EMPTYTAG*/ )
|
||||
IMPL_LINK_NOARG( OTableEditorCtrl, DelayedInsNewRows )
|
||||
{
|
||||
nInsNewRowsEvent = 0;
|
||||
sal_Int32 nPastePosition = GetView()->getController().getFirstEmptyRowPosition();
|
||||
|
@ -29,7 +29,7 @@ void MainThreadExecutor_Impl::execute()
|
||||
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() )
|
||||
{
|
||||
|
@ -182,7 +182,7 @@ namespace abp
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( OAddessBookSourcePilot, OnCancelClicked, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( OAddessBookSourcePilot, OnCancelClicked )
|
||||
{
|
||||
// do cleanups
|
||||
implCleanup();
|
||||
|
@ -83,7 +83,7 @@ namespace abp
|
||||
return AddressBookSourcePage::canAdvance() && getDialog()->getDataSource().isConnected();
|
||||
}
|
||||
|
||||
IMPL_LINK( AdminDialogInvokationPage, OnInvokeAdminDialog, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( AdminDialogInvokationPage, OnInvokeAdminDialog )
|
||||
{
|
||||
OAdminDialogInvokation aInvokation( getORB(), getDialog()->getDataSource().getDataSource(), getDialog() );
|
||||
if ( aInvokation.invokeAdministration( AST_LDAP == getSettings().eType ) )
|
||||
|
@ -79,7 +79,7 @@ namespace abp
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( FieldMappingPage, OnInvokeDialog, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( FieldMappingPage, OnInvokeDialog )
|
||||
{
|
||||
AddressSettings& rSettings = getSettings();
|
||||
|
||||
|
@ -262,7 +262,7 @@ namespace abp
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( TypeSelectionPage, OnTypeSelected, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( TypeSelectionPage, OnTypeSelected )
|
||||
{
|
||||
getDialog()->typeSelectionChanged( getSelectedType() );
|
||||
updateDialogTravelUI();
|
||||
|
@ -272,7 +272,7 @@ namespace bib
|
||||
pGridWin->GrabFocus();
|
||||
}
|
||||
|
||||
IMPL_LINK( BibBeamer, RecalcLayout_Impl, void*, /*pVoid*/ )
|
||||
IMPL_LINK_NOARG( BibBeamer, RecalcLayout_Impl )
|
||||
{
|
||||
long nHeight = pToolBar->GetSizePixel().Height();
|
||||
SetItemSize( ID_TOOLBAR, nHeight );
|
||||
|
@ -533,7 +533,7 @@ void BibToolBar::DataChanged( const DataChangedEvent& rDCEvt )
|
||||
ToolBox::DataChanged( rDCEvt );
|
||||
}
|
||||
|
||||
IMPL_LINK( BibToolBar, OptionsChanged_Impl, void*, /*pVoid*/ )
|
||||
IMPL_LINK_NOARG( BibToolBar, OptionsChanged_Impl )
|
||||
{
|
||||
bool bRebuildToolBar = false;
|
||||
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
|
||||
sal_Int16 eSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize();
|
||||
|
@ -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!" );
|
||||
if ( m_xBrowserUI.is() && m_xCommandDesigner.is() )
|
||||
|
@ -660,7 +660,7 @@ namespace pcr
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( FormLinkDialog, OnSuggest, void*, /*_pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( FormLinkDialog, OnSuggest )
|
||||
{
|
||||
initializeFieldRowsFrom( m_aRelationDetailColumns, m_aRelationMasterColumns );
|
||||
return 0L;
|
||||
@ -674,7 +674,7 @@ namespace pcr
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( FormLinkDialog, OnInitialize, void*, /*_pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( FormLinkDialog, OnInitialize )
|
||||
{
|
||||
initializeColumnLabels();
|
||||
initializeFieldLists();
|
||||
|
@ -79,7 +79,7 @@ namespace pcr
|
||||
ModalDialog::dispose();
|
||||
}
|
||||
|
||||
IMPL_LINK( NewDataTypeDialog, OnNameModified, void*, /*_pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( NewDataTypeDialog, OnNameModified )
|
||||
{
|
||||
OUString sCurrentName = GetName();
|
||||
bool bNameIsOK = ( !sCurrentName.isEmpty() )
|
||||
|
@ -460,7 +460,7 @@ namespace pcr
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( OHyperlinkControl, OnHyperlinkClicked, void*, /*_NotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( OHyperlinkControl, OnHyperlinkClicked )
|
||||
{
|
||||
ActionEvent aEvent( *this, OUString( "clicked" ) );
|
||||
m_aActionListeners.forEach< XActionListener >(
|
||||
@ -945,7 +945,7 @@ namespace pcr
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( OComboboxControl, OnEntrySelected, void*, /*_pNothing*/ )
|
||||
IMPL_LINK_NOARG( OComboboxControl, OnEntrySelected )
|
||||
{
|
||||
if ( !getTypedControlWindow()->IsTravelSelect() )
|
||||
// fire a commit
|
||||
|
@ -493,7 +493,7 @@ IMPL_LINK( ImpTwain, ImplFallbackHdl, void*, pData )
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( ImpTwain, ImplDestroyHdl, void*, /*p*/ )
|
||||
IMPL_LINK_NOARG( ImpTwain, ImplDestroyHdl )
|
||||
{
|
||||
if( hTwainWnd )
|
||||
DestroyWindow( hTwainWnd );
|
||||
|
@ -1025,7 +1025,7 @@ IMPL_LINK_NOARG(ImpPDFTabOpnFtrPage, ToggleRbPgLyContinueFacingHdl)
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl, void*, )
|
||||
IMPL_LINK_NOARG( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl )
|
||||
{
|
||||
mpNumZoom->Enable( mpRbMagnZoom->IsChecked() );
|
||||
return 0;
|
||||
@ -1076,7 +1076,7 @@ void ImpPDFTabViewerPage::dispose()
|
||||
SfxTabPage::dispose();
|
||||
}
|
||||
|
||||
IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, )
|
||||
IMPL_LINK_NOARG( ImpPDFTabViewerPage, ToggleRbBookmarksHdl )
|
||||
{
|
||||
m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() );
|
||||
return 0;
|
||||
|
@ -311,7 +311,7 @@ namespace frm
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( RichTextControlImpl, OnInvalidateAllAttributes, void*, /*_pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( RichTextControlImpl, OnInvalidateAllAttributes )
|
||||
{
|
||||
updateAllAttributes();
|
||||
return 0L;
|
||||
|
@ -549,7 +549,7 @@ namespace frm
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( ORichTextModel, OnEngineContentModified, void*, /*_pNotInterestedIn*/ )
|
||||
IMPL_LINK_NOARG( ORichTextModel, OnEngineContentModified )
|
||||
{
|
||||
if ( !m_bSettingEngineText )
|
||||
{
|
||||
|
@ -175,7 +175,7 @@ Image PlacesListBox::getEntryIcon( PlacePtr pPlace )
|
||||
return theImage;
|
||||
}
|
||||
|
||||
IMPL_LINK( PlacesListBox, Selection, void* , )
|
||||
IMPL_LINK_NOARG( PlacesListBox, Selection )
|
||||
{
|
||||
sal_uInt32 nSelected = mpImpl->GetCurrRow();
|
||||
PlacePtr pPlace = maPlaces[nSelected];
|
||||
|
@ -1221,8 +1221,7 @@ IMPL_LINK_NOARG( SvtFileDialog, FilterSelectHdl_Impl )
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK_TYPED(
|
||||
SvtFileDialog, FilterSelectTimerHdl_Impl, Timer*,, void)
|
||||
IMPL_LINK_NOARG_TYPED(SvtFileDialog, FilterSelectTimerHdl_Impl, Timer*, void)
|
||||
{
|
||||
// filter the view again
|
||||
ExecuteFilter();
|
||||
|
@ -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 ));
|
||||
|
||||
return 0L;
|
||||
}
|
||||
|
||||
IMPL_LINK( OAddFieldWindow, OnDoubleClickHdl, void* ,/*_pAddFieldDlg*/)
|
||||
IMPL_LINK_NOARG( OAddFieldWindow, OnDoubleClickHdl )
|
||||
{
|
||||
if ( m_aCreateLink.IsSet() )
|
||||
m_aCreateLink.Call(this);
|
||||
|
@ -871,7 +871,7 @@ void OFieldExpressionControl::paste()
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK( OFieldExpressionControl, DelayedPaste, void*, )
|
||||
IMPL_LINK_NOARG( OFieldExpressionControl, DelayedPaste )
|
||||
{
|
||||
m_nPasteEvent = 0;
|
||||
|
||||
@ -884,7 +884,7 @@ IMPL_LINK( OFieldExpressionControl, DelayedPaste, void*, )
|
||||
return 0;
|
||||
}
|
||||
|
||||
IMPL_LINK( OFieldExpressionControl, DelayedDelete, void*, )
|
||||
IMPL_LINK_NOARG( OFieldExpressionControl, DelayedDelete )
|
||||
{
|
||||
m_nDeleteEvent = 0;
|
||||
DeleteRows();
|
||||
|
@ -406,7 +406,7 @@ void ODesignView::ImplInitSettings()
|
||||
SetTextFillColor( Application::GetSettings().GetStyleSettings().GetFaceColor() );
|
||||
}
|
||||
|
||||
IMPL_LINK( ODesignView, SplitHdl, void*, )
|
||||
IMPL_LINK_NOARG( ODesignView, SplitHdl )
|
||||
{
|
||||
const Size aOutputSize = GetOutputSizePixel();
|
||||
const long nTest = aOutputSize.Width() * m_aSplitWin->GetItemSize(TASKPANE_ID) / 100;
|
||||
|
@ -1747,7 +1747,7 @@ void OReportController::impl_initialize( )
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK( OReportController, OnOpenHelpAgent, void* ,/*_pMemfun*/)
|
||||
IMPL_LINK_NOARG( OReportController, OnOpenHelpAgent )
|
||||
{
|
||||
doOpenHelpAgent();
|
||||
return 0L;
|
||||
@ -3149,7 +3149,7 @@ void OReportController::createNewFunction(const uno::Any& _aValue)
|
||||
xFunctions->insertByIndex(xFunctions->getCount(),uno::makeAny(xFunction));
|
||||
}
|
||||
|
||||
IMPL_LINK( OReportController, OnExecuteReport, void* ,/*_pMemfun*/)
|
||||
IMPL_LINK_NOARG( OReportController, OnExecuteReport )
|
||||
{
|
||||
executeReport();
|
||||
return 0L;
|
||||
|
@ -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())
|
||||
m_xBrowserComponentWindow->setFocus();
|
||||
|
@ -111,7 +111,7 @@ void ChangeRequestQueueProcessor::StartProcessing()
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK(ChangeRequestQueueProcessor, ProcessEvent, void*, pUnused)
|
||||
IMPL_LINK_NOARG(ChangeRequestQueueProcessor, ProcessEvent)
|
||||
{
|
||||
(void)pUnused;
|
||||
|
||||
|
@ -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;
|
||||
enablePasswordBox( true );
|
||||
updateFilterOptionsBox( );
|
||||
|
@ -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())
|
||||
return 0;
|
||||
|
@ -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
|
||||
// doing a complete re-layout?
|
||||
|
@ -375,7 +375,7 @@ sal_Int8 FmGridHeader::ExecuteDrop( const ExecuteDropEvent& _rEvt )
|
||||
return DND_ACTION_LINK;
|
||||
}
|
||||
|
||||
IMPL_LINK( FmGridHeader, OnAsyncExecuteDrop, void*, /*NOTINTERESTEDIN*/ )
|
||||
IMPL_LINK_NOARG( FmGridHeader, OnAsyncExecuteDrop )
|
||||
{
|
||||
OUString sCommand, sFieldName,sURL;
|
||||
sal_Int32 nCommandType = CommandType::COMMAND;
|
||||
|
@ -2846,7 +2846,7 @@ void DbGridControl::Command(const CommandEvent& rEvt)
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK(DbGridControl, OnDelete, void*, /*EMPTYTAG*/ )
|
||||
IMPL_LINK_NOARG(DbGridControl, OnDelete)
|
||||
{
|
||||
m_nDeleteEvent = 0;
|
||||
DeleteSelectedRows();
|
||||
|
@ -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())
|
||||
m_xBrowserComponentWindow->setFocus();
|
||||
|
@ -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() )
|
||||
return 0L;
|
||||
|
@ -608,7 +608,7 @@ void FmXFormView::displayAsyncErrorMessage( const SQLErrorEvent& _rEvent )
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK(FmXFormView, OnDelayedErrorMessage, void*, /*EMPTYTAG*/)
|
||||
IMPL_LINK_NOARG(FmXFormView, OnDelayedErrorMessage)
|
||||
{
|
||||
m_nErrorMessageEvent = 0;
|
||||
displayException( m_aAsyncError );
|
||||
@ -657,7 +657,7 @@ void FmXFormView::resumeTabOrderUpdate()
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK(FmXFormView, OnActivate, void*, /*EMPTYTAG*/)
|
||||
IMPL_LINK_NOARG(FmXFormView, OnActivate)
|
||||
{
|
||||
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;
|
||||
|
||||
@ -1017,7 +1017,7 @@ void FmXFormView::breakCreateFormObject()
|
||||
m_xLastCreatedControlModel.clear();
|
||||
}
|
||||
|
||||
IMPL_LINK( FmXFormView, OnStartControlWizard, void*, /**/ )
|
||||
IMPL_LINK_NOARG( FmXFormView, OnStartControlWizard )
|
||||
{
|
||||
m_nControlWizardEvent = 0;
|
||||
OSL_PRECOND( m_xLastCreatedControlModel.is(), "FmXFormView::OnStartControlWizard: illegal call!" );
|
||||
|
@ -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;
|
||||
aEvent.Source = *this;
|
||||
@ -1767,7 +1767,7 @@ IMPL_LINK( FormController, OnActivated, void*, /**/ )
|
||||
}
|
||||
|
||||
|
||||
IMPL_LINK( FormController, OnDeactivated, void*, /**/ )
|
||||
IMPL_LINK_NOARG( FormController, OnDeactivated )
|
||||
{
|
||||
EventObject aEvent;
|
||||
aEvent.Source = *this;
|
||||
|
@ -427,7 +427,7 @@ void PosSizePropertyPanel::HandleContextChange(
|
||||
|
||||
|
||||
|
||||
IMPL_LINK( PosSizePropertyPanel, ChangeWidthHdl, void*, /*pBox*/ )
|
||||
IMPL_LINK_NOARG( PosSizePropertyPanel, ChangeWidthHdl )
|
||||
{
|
||||
if( mpCbxScale->IsChecked() &&
|
||||
mpCbxScale->IsEnabled() )
|
||||
|
@ -489,7 +489,7 @@ SwHTMLParser::~SwHTMLParser()
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK( SwHTMLParser, AsyncCallback, void*, /*pVoid*/ )
|
||||
IMPL_LINK_NOARG( SwHTMLParser, AsyncCallback )
|
||||
{
|
||||
nEventId=0;
|
||||
|
||||
|
@ -695,7 +695,7 @@ bool SwColumnPage::FillItemSet(SfxItemSet *rSet)
|
||||
}
|
||||
|
||||
// update ColumnManager
|
||||
IMPL_LINK( SwColumnPage, UpdateColMgr, void *, /*pField*/ )
|
||||
IMPL_LINK_NOARG( SwColumnPage, UpdateColMgr )
|
||||
{
|
||||
long nGutterWidth = pColMgr->GetGutterWidth();
|
||||
if(nCols > 1)
|
||||
|
@ -1877,7 +1877,7 @@ void SwPostItMgr::SetActiveSidebarWin( SwSidebarWin* p)
|
||||
}
|
||||
}
|
||||
|
||||
IMPL_LINK( SwPostItMgr, CalcHdl, void*, /* pVoid*/ )
|
||||
IMPL_LINK_NOARG( SwPostItMgr, CalcHdl )
|
||||
{
|
||||
mnEventId = 0;
|
||||
if ( mbLayouting )
|
||||
|
Loading…
x
Reference in New Issue
Block a user