summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r--dbaccess/source/ui/dlg/CollectionView.cxx8
-rw-r--r--dbaccess/source/ui/dlg/ConnectionHelper.cxx4
-rw-r--r--dbaccess/source/ui/dlg/ConnectionHelper.hxx4
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPage.cxx4
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPage.hxx4
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPageSetup.cxx2
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPageSetup.hxx2
-rw-r--r--dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx12
-rw-r--r--dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx12
-rw-r--r--dbaccess/source/ui/dlg/RelationDlg.cxx2
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx4
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.hxx4
-rw-r--r--dbaccess/source/ui/dlg/UserAdmin.cxx12
-rw-r--r--dbaccess/source/ui/dlg/UserAdmin.hxx4
-rw-r--r--dbaccess/source/ui/dlg/admincontrols.cxx4
-rw-r--r--dbaccess/source/ui/dlg/admincontrols.hxx4
-rw-r--r--dbaccess/source/ui/dlg/adminpages.cxx10
-rw-r--r--dbaccess/source/ui/dlg/adminpages.hxx10
-rw-r--r--dbaccess/source/ui/dlg/adtabdlg.cxx10
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.cxx2
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.hxx2
-rw-r--r--dbaccess/source/ui/dlg/dbfindex.cxx14
-rw-r--r--dbaccess/source/ui/dlg/dbfindex.hxx14
-rw-r--r--dbaccess/source/ui/dlg/dbwiz.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dbwizsetup.cxx16
-rw-r--r--dbaccess/source/ui/dlg/detailpages.cxx8
-rw-r--r--dbaccess/source/ui/dlg/detailpages.hxx8
-rw-r--r--dbaccess/source/ui/dlg/directsql.cxx10
-rw-r--r--dbaccess/source/ui/dlg/dlgsave.cxx4
-rw-r--r--dbaccess/source/ui/dlg/dlgsize.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dsselect.cxx6
-rw-r--r--dbaccess/source/ui/dlg/dsselect.hxx6
-rw-r--r--dbaccess/source/ui/dlg/generalpage.cxx12
-rw-r--r--dbaccess/source/ui/dlg/generalpage.hxx12
-rw-r--r--dbaccess/source/ui/dlg/indexdialog.cxx14
-rw-r--r--dbaccess/source/ui/dlg/indexfieldscontrol.cxx2
-rw-r--r--dbaccess/source/ui/dlg/paramdialog.cxx10
-rw-r--r--dbaccess/source/ui/dlg/queryfilter.cxx6
-rw-r--r--dbaccess/source/ui/dlg/queryorder.cxx2
-rw-r--r--dbaccess/source/ui/dlg/sqlmessage.cxx6
-rw-r--r--dbaccess/source/ui/dlg/tablespage.cxx6
-rw-r--r--dbaccess/source/ui/dlg/tablespage.hxx6
-rw-r--r--dbaccess/source/ui/dlg/textconnectionsettings.cxx2
43 files changed, 144 insertions, 144 deletions
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx
index 256515258bac..65cf5de52a44 100644
--- a/dbaccess/source/ui/dlg/CollectionView.cxx
+++ b/dbaccess/source/ui/dlg/CollectionView.cxx
@@ -107,7 +107,7 @@ void OCollectionView::dispose()
ModalDialog::dispose();
}
-IMPL_LINK_NOARG_TYPED(OCollectionView, Save_Click, Button*, void)
+IMPL_LINK_NOARG(OCollectionView, Save_Click, Button*, void)
{
OUString sName = m_pName->GetText();
if ( sName.isEmpty() )
@@ -194,7 +194,7 @@ IMPL_LINK_NOARG_TYPED(OCollectionView, Save_Click, Button*, void)
}
}
-IMPL_LINK_NOARG_TYPED(OCollectionView, NewFolder_Click, Button*, void)
+IMPL_LINK_NOARG(OCollectionView, NewFolder_Click, Button*, void)
{
try
{
@@ -212,7 +212,7 @@ IMPL_LINK_NOARG_TYPED(OCollectionView, NewFolder_Click, Button*, void)
}
}
-IMPL_LINK_NOARG_TYPED(OCollectionView, Up_Click, Button*, void)
+IMPL_LINK_NOARG(OCollectionView, Up_Click, Button*, void)
{
try
{
@@ -236,7 +236,7 @@ IMPL_LINK_NOARG_TYPED(OCollectionView, Up_Click, Button*, void)
}
}
-IMPL_LINK_NOARG_TYPED(OCollectionView, Dbl_Click_FileView, SvTreeListBox*, bool)
+IMPL_LINK_NOARG(OCollectionView, Dbl_Click_FileView, SvTreeListBox*, bool)
{
try
{
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
index 7efded163552..b9c0bd70df4a 100644
--- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
@@ -164,7 +164,7 @@ namespace dbaui
m_pAdminDialog->enableConfirmSettings( !getURLNoPrefix().isEmpty() );
}
- IMPL_LINK_NOARG_TYPED(OConnectionHelper, OnBrowseConnections, Button*, void)
+ IMPL_LINK_NOARG(OConnectionHelper, OnBrowseConnections, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
const ::dbaccess::DATASOURCE_TYPE eType = m_pCollection->determineType(m_eType);
@@ -337,7 +337,7 @@ namespace dbaui
checkTestConnection();
}
- IMPL_LINK_NOARG_TYPED(OConnectionHelper, OnCreateDatabase, Button*, void)
+ IMPL_LINK_NOARG(OConnectionHelper, OnCreateDatabase, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
const ::dbaccess::DATASOURCE_TYPE eType = m_pCollection->determineType(m_eType);
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.hxx b/dbaccess/source/ui/dlg/ConnectionHelper.hxx
index 53afdc9c3e3a..f8b6ac1a87e5 100644
--- a/dbaccess/source/ui/dlg/ConnectionHelper.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionHelper.hxx
@@ -91,8 +91,8 @@ namespace dbaui
virtual bool checkTestConnection();
private:
- DECL_LINK_TYPED(OnBrowseConnections, Button*, void);
- DECL_LINK_TYPED(OnCreateDatabase, Button*, void);
+ DECL_LINK(OnBrowseConnections, Button*, void);
+ DECL_LINK(OnCreateDatabase, Button*, void);
OUString impl_getURL() const;
void impl_setURL( const OUString& _rURL, bool _bPrefix );
void implUpdateURLDependentStates() const;
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.cxx b/dbaccess/source/ui/dlg/ConnectionPage.cxx
index 7eb9d3cc0466..03e094ec4b26 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionPage.cxx
@@ -287,7 +287,7 @@ namespace dbaui
return bChangedSomething;
}
- IMPL_LINK_NOARG_TYPED(OConnectionTabPage, OnTestJavaClickHdl, Button*, void)
+ IMPL_LINK_NOARG(OConnectionTabPage, OnTestJavaClickHdl, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
bool bSuccess = false;
@@ -320,7 +320,7 @@ namespace dbaui
m_pTestConnection->Enable(bEnableTestConnection);
return true;
}
- IMPL_LINK_TYPED(OConnectionTabPage, OnEditModified, Edit&, _rEdit, void)
+ IMPL_LINK(OConnectionTabPage, OnEditModified, Edit&, _rEdit, void)
{
if ( &_rEdit == m_pJavaDriver )
m_pTestJavaDriver->Enable( !m_pJavaDriver->GetText().trim().isEmpty() );
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.hxx b/dbaccess/source/ui/dlg/ConnectionPage.hxx
index 7ee50279fda3..5eee03ec4d6f 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionPage.hxx
@@ -52,8 +52,8 @@ namespace dbaui
VclPtr<PushButton> m_pTestConnection;
// called when the test connection button was clicked
- DECL_LINK_TYPED(OnTestJavaClickHdl, Button*, void);
- DECL_LINK_TYPED(OnEditModified, Edit&, void);
+ DECL_LINK(OnTestJavaClickHdl, Button*, void);
+ DECL_LINK(OnEditModified, Edit&, void);
public:
virtual ~OConnectionTabPage() override;
diff --git a/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx b/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx
index 864b4066baa9..7341eb3897a2 100644
--- a/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx
@@ -176,7 +176,7 @@ namespace dbaui
return !m_pConnectionURL->IsVisible() || !m_pConnectionURL->GetTextNoPrefix().isEmpty();
}
- IMPL_LINK_NOARG_TYPED(OConnectionTabPageSetup, OnEditModified, Edit&, void)
+ IMPL_LINK_NOARG(OConnectionTabPageSetup, OnEditModified, Edit&, void)
{
SetRoadmapStateValue(checkTestConnection());
callModifiedHdl();
diff --git a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx
index e2246b3db336..3a34c73f4b8d 100644
--- a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx
+++ b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx
@@ -43,7 +43,7 @@ namespace dbaui
VclPtr<FixedText> m_pHeaderText;
// called when the test connection button was clicked
- DECL_LINK_TYPED(OnEditModified, Edit&, void);
+ DECL_LINK(OnEditModified, Edit&, void);
public:
virtual ~OConnectionTabPageSetup() override;
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
index 8d6a0405d494..729acc566df7 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
@@ -85,7 +85,7 @@ using namespace ::com::sun::star;
OConnectionTabPageSetup::dispose();
}
- IMPL_LINK_NOARG_TYPED(OTextConnectionPageSetup, ImplGetExtensionHdl, OTextConnectionHelper*, void)
+ IMPL_LINK_NOARG(OTextConnectionPageSetup, ImplGetExtensionHdl, OTextConnectionHelper*, void)
{
SetRoadmapStateValue(!m_pTextConnectionHelper->GetExtension().isEmpty() && OConnectionTabPageSetup::checkTestConnection());
callModifiedHdl();
@@ -269,7 +269,7 @@ using namespace ::com::sun::star;
OGenericAdministrationPage::dispose();
}
- IMPL_LINK_NOARG_TYPED(OMySQLIntroPageSetup, OnSetupModeSelected, RadioButton&, void)
+ IMPL_LINK_NOARG(OMySQLIntroPageSetup, OnSetupModeSelected, RadioButton&, void)
{
maClickHdl.Call( this );
}
@@ -532,7 +532,7 @@ using namespace ::com::sun::star;
SetRoadmapStateValue(bRoadmapState);
}
- IMPL_LINK_NOARG_TYPED(OGeneralSpecialJDBCConnectionPageSetup, OnTestJavaClickHdl, Button*, void)
+ IMPL_LINK_NOARG(OGeneralSpecialJDBCConnectionPageSetup, OnTestJavaClickHdl, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
@@ -654,7 +654,7 @@ using namespace ::com::sun::star;
return bEnableTestConnection;
}
- IMPL_LINK_NOARG_TYPED(OJDBCConnectionPageSetup, OnTestJavaClickHdl, Button*, void)
+ IMPL_LINK_NOARG(OJDBCConnectionPageSetup, OnTestJavaClickHdl, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
bool bSuccess = false;
@@ -678,7 +678,7 @@ using namespace ::com::sun::star;
aMsg->Execute();
}
- IMPL_LINK_TYPED(OJDBCConnectionPageSetup, OnEditModified, Edit&, _rEdit, void)
+ IMPL_LINK(OJDBCConnectionPageSetup, OnEditModified, Edit&, _rEdit, void)
{
if ( &_rEdit == m_pETDriverClass )
m_pPBTestJavaDriver->Enable( !m_pETDriverClass->GetText().isEmpty() );
@@ -899,7 +899,7 @@ using namespace ::com::sun::star;
return true;
}
- IMPL_LINK_TYPED(OFinalDBPageSetup, OnOpenSelected, Button*, _pBox, void)
+ IMPL_LINK(OFinalDBPageSetup, OnOpenSelected, Button*, _pBox, void)
{
m_pCBStartTableWizard->Enable( _pBox->IsEnabled() && static_cast<CheckBox*>(_pBox)->IsChecked() );
callModifiedHdl();
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
index 8961cadeaf60..3a4c168b4dfc 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
@@ -74,7 +74,7 @@ namespace dbaui
bool checkTestConnection() override;
private:
- DECL_LINK_TYPED(ImplGetExtensionHdl, OTextConnectionHelper*, void);
+ DECL_LINK(ImplGetExtensionHdl, OTextConnectionHelper*, void);
};
// OLDAPConnectionPageSetup
@@ -152,7 +152,7 @@ namespace dbaui
virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList) override;
virtual void callModifiedHdl(void* pControl = nullptr) override;
- DECL_LINK_TYPED(OnTestJavaClickHdl, Button*, void);
+ DECL_LINK(OnTestJavaClickHdl, Button*, void);
VclPtr<FixedText> m_pHeaderText;
VclPtr<FixedText> m_pFTHelpText;
VclPtr<FixedText> m_pFTDatabasename;
@@ -188,8 +188,8 @@ namespace dbaui
virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList) override;
virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList) override;
- DECL_LINK_TYPED(OnTestJavaClickHdl, Button*, void);
- DECL_LINK_TYPED(OnEditModified, Edit&, void);
+ DECL_LINK(OnTestJavaClickHdl, Button*, void);
+ DECL_LINK(OnEditModified, Edit&, void);
VclPtr<FixedText> m_pFTDriverClass;
VclPtr<Edit> m_pETDriverClass;
VclPtr<PushButton> m_pPBTestJavaDriver;
@@ -226,7 +226,7 @@ namespace dbaui
VclPtr<RadioButton> m_pNATIVEDatabase;
Link<OMySQLIntroPageSetup *, void> maClickHdl;
- DECL_LINK_TYPED(OnSetupModeSelected, RadioButton&, void);
+ DECL_LINK(OnSetupModeSelected, RadioButton&, void);
};
@@ -277,7 +277,7 @@ namespace dbaui
bool IsTableWizardToBeStarted();
void enableTableWizardCheckBox( bool _bSupportsTableCreation);
- DECL_LINK_TYPED(OnOpenSelected, Button*, void);
+ DECL_LINK(OnOpenSelected, Button*, void);
protected:
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override;
virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList) override;
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx
index 547e5bcb7b91..98bbba66ae03 100644
--- a/dbaccess/source/ui/dlg/RelationDlg.cxx
+++ b/dbaccess/source/ui/dlg/RelationDlg.cxx
@@ -152,7 +152,7 @@ void ORelationDialog::Init(const TTableConnectionData::value_type& _pConnectionD
}
}
-IMPL_LINK_NOARG_TYPED( ORelationDialog, OKClickHdl, Button*, void )
+IMPL_LINK_NOARG( ORelationDialog, OKClickHdl, Button*, void )
{
// RadioButtons auslesen
sal_uInt16 nAttrib = 0;
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index 00c5be330508..3298d498a004 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -169,12 +169,12 @@ namespace dbaui
TabPage::dispose();
}
- IMPL_LINK_NOARG_TYPED(OTextConnectionHelper, OnEditModified, Edit&, void)
+ IMPL_LINK_NOARG(OTextConnectionHelper, OnEditModified, Edit&, void)
{
m_aGetExtensionHandler.Call(this);
}
- IMPL_LINK_NOARG_TYPED(OTextConnectionHelper, OnSetExtensionHdl, RadioButton&, void)
+ IMPL_LINK_NOARG(OTextConnectionHelper, OnSetExtensionHdl, RadioButton&, void)
{
bool bDoEnable = m_pAccessOtherFiles->IsChecked();
m_pOwnExtension->Enable(bDoEnable);
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.hxx b/dbaccess/source/ui/dlg/TextConnectionHelper.hxx
index 47f408f25926..473df12b6fcb 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.hxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.hxx
@@ -76,8 +76,8 @@ namespace dbaui
short m_nAvailableSections;
protected:
- DECL_LINK_TYPED(OnSetExtensionHdl,RadioButton&,void);
- DECL_LINK_TYPED(OnEditModified, Edit&, void);
+ DECL_LINK(OnSetExtensionHdl,RadioButton&,void);
+ DECL_LINK(OnEditModified, Edit&, void);
private:
OUString GetSeparator( const ComboBox& rBox, const OUString& rList );
diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx
index c1c828c11acd..a477eb642f30 100644
--- a/dbaccess/source/ui/dlg/UserAdmin.cxx
+++ b/dbaccess/source/ui/dlg/UserAdmin.cxx
@@ -57,8 +57,8 @@ class OPasswordDialog : public ModalDialog
VclPtr<Edit> m_pEDPasswordRepeat;
VclPtr<OKButton> m_pOKBtn;
- DECL_LINK_TYPED( OKHdl_Impl, Button*, void );
- DECL_LINK_TYPED( ModifiedHdl, Edit&, void );
+ DECL_LINK( OKHdl_Impl, Button*, void );
+ DECL_LINK( ModifiedHdl, Edit&, void );
public:
OPasswordDialog( vcl::Window* pParent,const OUString& _sUserName);
@@ -95,7 +95,7 @@ OPasswordDialog::OPasswordDialog(vcl::Window* _pParent,const OUString& _sUserNam
m_pEDOldPassword->SetModifyHdl( LINK( this, OPasswordDialog, ModifiedHdl ) );
}
-IMPL_LINK_NOARG_TYPED(OPasswordDialog, OKHdl_Impl, Button*, void)
+IMPL_LINK_NOARG(OPasswordDialog, OKHdl_Impl, Button*, void)
{
if( m_pEDPassword->GetText() == m_pEDPasswordRepeat->GetText() )
EndDialog( RET_OK );
@@ -110,7 +110,7 @@ IMPL_LINK_NOARG_TYPED(OPasswordDialog, OKHdl_Impl, Button*, void)
}
}
-IMPL_LINK_TYPED( OPasswordDialog, ModifiedHdl, Edit&, rEdit, void )
+IMPL_LINK( OPasswordDialog, ModifiedHdl, Edit&, rEdit, void )
{
m_pOKBtn->Enable(!rEdit.GetText().isEmpty());
}
@@ -205,7 +205,7 @@ VclPtr<SfxTabPage> OUserAdmin::Create( vcl::Window* pParent, const SfxItemSet* _
return VclPtr<OUserAdmin>::Create( pParent, *_rAttrSet );
}
-IMPL_LINK_TYPED( OUserAdmin, UserHdl, Button *, pButton, void )
+IMPL_LINK( OUserAdmin, UserHdl, Button *, pButton, void )
{
try
{
@@ -274,7 +274,7 @@ IMPL_LINK_TYPED( OUserAdmin, UserHdl, Button *, pButton, void )
}
}
-IMPL_LINK_NOARG_TYPED( OUserAdmin, ListDblClickHdl, ListBox&, void )
+IMPL_LINK_NOARG( OUserAdmin, ListDblClickHdl, ListBox&, void )
{
m_TableCtrl->setUserName(GetUser());
m_TableCtrl->UpdateTables();
diff --git a/dbaccess/source/ui/dlg/UserAdmin.hxx b/dbaccess/source/ui/dlg/UserAdmin.hxx
index 2a68deabfaf1..80c536b5714e 100644
--- a/dbaccess/source/ui/dlg/UserAdmin.hxx
+++ b/dbaccess/source/ui/dlg/UserAdmin.hxx
@@ -55,8 +55,8 @@ protected:
OUString m_UserName;
// methods
- DECL_LINK_TYPED( ListDblClickHdl, ListBox&, void );
- DECL_LINK_TYPED( UserHdl, Button *, void );
+ DECL_LINK( ListDblClickHdl, ListBox&, void );
+ DECL_LINK( UserHdl, Button *, void );
void FillUserNames();
diff --git a/dbaccess/source/ui/dlg/admincontrols.cxx b/dbaccess/source/ui/dlg/admincontrols.cxx
index 0e5df0670461..8b493c9cd0fa 100644
--- a/dbaccess/source/ui/dlg/admincontrols.cxx
+++ b/dbaccess/source/ui/dlg/admincontrols.cxx
@@ -169,12 +169,12 @@ namespace dbaui
#endif
}
- IMPL_LINK_TYPED(MySQLNativeSettings, RadioToggleHdl, RadioButton&, rRadioButton, void)
+ IMPL_LINK(MySQLNativeSettings, RadioToggleHdl, RadioButton&, rRadioButton, void)
{
m_aControlModificationLink.Call(&rRadioButton);
}
- IMPL_LINK_TYPED(MySQLNativeSettings, EditModifyHdl, Edit&, rEdit, void)
+ IMPL_LINK(MySQLNativeSettings, EditModifyHdl, Edit&, rEdit, void)
{
m_aControlModificationLink.Call(&rEdit);
}
diff --git a/dbaccess/source/ui/dlg/admincontrols.hxx b/dbaccess/source/ui/dlg/admincontrols.hxx
index ae7b7afae1c2..fcd9cd32b9b9 100644
--- a/dbaccess/source/ui/dlg/admincontrols.hxx
+++ b/dbaccess/source/ui/dlg/admincontrols.hxx
@@ -50,8 +50,8 @@ namespace dbaui
Link<void*,void> m_aControlModificationLink;
::svt::ControlDependencyManager
m_aControlDependencies;
- DECL_LINK_TYPED(RadioToggleHdl, RadioButton&, void);
- DECL_LINK_TYPED(EditModifyHdl, Edit&, void);
+ DECL_LINK(RadioToggleHdl, RadioButton&, void);
+ DECL_LINK(EditModifyHdl, Edit&, void);
public:
MySQLNativeSettings( vcl::Window& _rParent, const Link<void*,void>& _rControlModificationLink );
diff --git a/dbaccess/source/ui/dlg/adminpages.cxx b/dbaccess/source/ui/dlg/adminpages.cxx
index 3efb3bc15638..0a5f62e811bb 100644
--- a/dbaccess/source/ui/dlg/adminpages.cxx
+++ b/dbaccess/source/ui/dlg/adminpages.cxx
@@ -102,19 +102,19 @@ namespace dbaui
_rReadonly = !_rValid || (pReadonly && pReadonly->GetValue());
}
- IMPL_LINK_TYPED(OGenericAdministrationPage, OnControlModified, void*, pCtrl, void)
+ IMPL_LINK(OGenericAdministrationPage, OnControlModified, void*, pCtrl, void)
{
callModifiedHdl(pCtrl);
}
- IMPL_LINK_TYPED(OGenericAdministrationPage, OnControlModifiedClick, Button*, pCtrl, void)
+ IMPL_LINK(OGenericAdministrationPage, OnControlModifiedClick, Button*, pCtrl, void)
{
callModifiedHdl(pCtrl);
}
- IMPL_LINK_TYPED(OGenericAdministrationPage, ControlModifiedCheckBoxHdl, CheckBox&, rCtrl, void)
+ IMPL_LINK(OGenericAdministrationPage, ControlModifiedCheckBoxHdl, CheckBox&, rCtrl, void)
{
callModifiedHdl(&rCtrl);
}
- IMPL_LINK_TYPED(OGenericAdministrationPage, OnControlEditModifyHdl, Edit&, rCtrl, void)
+ IMPL_LINK(OGenericAdministrationPage, OnControlEditModifyHdl, Edit&, rCtrl, void)
{
callModifiedHdl(&rCtrl);
}
@@ -229,7 +229,7 @@ namespace dbaui
}
}
- IMPL_LINK_NOARG_TYPED(OGenericAdministrationPage, OnTestConnectionClickHdl, Button*, void)
+ IMPL_LINK_NOARG(OGenericAdministrationPage, OnTestConnectionClickHdl, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
bool bSuccess = false;
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx
index f674ffd0bcec..ed0bc5fd4e6c 100644
--- a/dbaccess/source/ui/dlg/adminpages.hxx
+++ b/dbaccess/source/ui/dlg/adminpages.hxx
@@ -206,12 +206,12 @@ namespace dbaui
/** This link be used for controls where the tabpage does not need to take any special action when the control
is modified. The implementation just calls callModifiedHdl.
*/
- DECL_LINK_TYPED(OnControlModified, void*, void);
- DECL_LINK_TYPED(OnControlEditModifyHdl, Edit&, void);
- DECL_LINK_TYPED(OnControlModifiedClick, Button*, void);
- DECL_LINK_TYPED(ControlModifiedCheckBoxHdl, CheckBox&, void);
+ DECL_LINK(OnControlModified, void*, void);
+ DECL_LINK(OnControlEditModifyHdl, Edit&, void);
+ DECL_LINK(OnControlModifiedClick, Button*, void);
+ DECL_LINK(ControlModifiedCheckBoxHdl, CheckBox&, void);
- DECL_LINK_TYPED(OnTestConnectionClickHdl, Button*, void);
+ DECL_LINK(OnTestConnectionClickHdl, Button*, void);
};
// ControlRelation
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx
index 5d1cdfb6aef8..71e5f26e9b18 100644
--- a/dbaccess/source/ui/dlg/adtabdlg.cxx
+++ b/dbaccess/source/ui/dlg/adtabdlg.cxx
@@ -417,12 +417,12 @@ void OAddTableDlg::impl_addTable()
}
}
-IMPL_LINK_NOARG_TYPED( OAddTableDlg, AddClickHdl, Button*, void )
+IMPL_LINK_NOARG( OAddTableDlg, AddClickHdl, Button*, void )
{
TableListDoubleClickHdl(nullptr);
}
-IMPL_LINK_NOARG_TYPED( OAddTableDlg, TableListDoubleClickHdl, SvTreeListBox*, bool )
+IMPL_LINK_NOARG( OAddTableDlg, TableListDoubleClickHdl, SvTreeListBox*, bool )
{
if ( impl_isAddAllowed() )
{
@@ -435,17 +435,17 @@ IMPL_LINK_NOARG_TYPED( OAddTableDlg, TableListDoubleClickHdl, SvTreeListBox*, bo
return false; // not handled
}
-IMPL_LINK_NOARG_TYPED( OAddTableDlg, TableListSelectHdl, SvTreeListBox*, void )
+IMPL_LINK_NOARG( OAddTableDlg, TableListSelectHdl, SvTreeListBox*, void )
{
m_pAddButton->Enable( m_xCurrentList->isLeafSelected() );
}
-IMPL_LINK_NOARG_TYPED( OAddTableDlg, CloseClickHdl, Button*, void )
+IMPL_LINK_NOARG( OAddTableDlg, CloseClickHdl, Button*, void )
{
Close();
}
-IMPL_LINK_NOARG_TYPED( OAddTableDlg, OnTypeSelected, Button*, void )
+IMPL_LINK_NOARG( OAddTableDlg, OnTypeSelected, Button*, void )
{
if ( m_pCaseTables->IsChecked() )
impl_switchTo( Tables );
diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx
index e6d7160e8b8c..27e0a5db8261 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.cxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.cxx
@@ -134,7 +134,7 @@ namespace dbaui
}
}
- IMPL_LINK_TYPED(SpecialSettingsPage, BooleanComparisonSelectHdl, ListBox&, rControl, void)
+ IMPL_LINK(SpecialSettingsPage, BooleanComparisonSelectHdl, ListBox&, rControl, void)
{
callModifiedHdl(&rControl);
}
diff --git a/dbaccess/source/ui/dlg/advancedsettings.hxx b/dbaccess/source/ui/dlg/advancedsettings.hxx
index a9d9d7a5696a..f7c80977352d 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.hxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.hxx
@@ -91,7 +91,7 @@ namespace dbaui
private:
void impl_initBooleanSettings();
- DECL_LINK_TYPED(BooleanComparisonSelectHdl, ListBox&, void);
+ DECL_LINK(BooleanComparisonSelectHdl, ListBox&, void);
};
// GeneratedValuesPage
diff --git a/dbaccess/source/ui/dlg/dbfindex.cxx b/dbaccess/source/ui/dlg/dbfindex.cxx
index c9860820633e..3ed234ce954d 100644
--- a/dbaccess/source/ui/dlg/dbfindex.cxx
+++ b/dbaccess/source/ui/dlg/dbfindex.cxx
@@ -179,7 +179,7 @@ void ODbaseIndexDialog::InsertTableIndex( const OUString& _rTableName, const OTa
implInsertIndex(_rIndex, aTablePos->aIndexList, *m_pLB_TableIndexes);
}
-IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, OKClickHdl, Button*, void )
+IMPL_LINK_NOARG( ODbaseIndexDialog, OKClickHdl, Button*, void )
{
// let all tables write their INF file
@@ -192,7 +192,7 @@ IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, OKClickHdl, Button*, void )
EndDialog();
}
-IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, AddClickHdl, Button*, void )
+IMPL_LINK_NOARG( ODbaseIndexDialog, AddClickHdl, Button*, void )
{
OUString aSelection = m_pLB_FreeIndexes->GetSelectEntry();
OUString aTableName = m_pCB_Tables->GetText();
@@ -202,7 +202,7 @@ IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, AddClickHdl, Button*, void )
checkButtons();
}
-IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, RemoveClickHdl, Button*, void )
+IMPL_LINK_NOARG( ODbaseIndexDialog, RemoveClickHdl, Button*, void )
{
OUString aSelection = m_pLB_TableIndexes->GetSelectEntry();
OUString aTableName = m_pCB_Tables->GetText();
@@ -212,7 +212,7 @@ IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, RemoveClickHdl, Button*, void )
checkButtons();
}
-IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, AddAllClickHdl, Button*, void )
+IMPL_LINK_NOARG( ODbaseIndexDialog, AddAllClickHdl, Button*, void )
{
const sal_Int32 nCnt = m_pLB_FreeIndexes->GetEntryCount();
OUString aTableName = m_pCB_Tables->GetText();
@@ -223,7 +223,7 @@ IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, AddAllClickHdl, Button*, void )
checkButtons();
}
-IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, RemoveAllClickHdl, Button*, void )
+IMPL_LINK_NOARG( ODbaseIndexDialog, RemoveAllClickHdl, Button*, void )
{
const sal_Int32 nCnt = m_pLB_TableIndexes->GetEntryCount();
OUString aTableName = m_pCB_Tables->GetText();
@@ -234,12 +234,12 @@ IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, RemoveAllClickHdl, Button*, void )
checkButtons();
}
-IMPL_LINK_NOARG_TYPED( ODbaseIndexDialog, OnListEntrySelected, ListBox&, void )
+IMPL_LINK_NOARG( ODbaseIndexDialog, OnListEntrySelected, ListBox&, void )
{
checkButtons();
}
-IMPL_LINK_TYPED( ODbaseIndexDialog, TableSelectHdl, ComboBox&, rComboBox, void )
+IMPL_LINK( ODbaseIndexDialog, TableSelectHdl, ComboBox&, rComboBox, void )
{
// search the table
TableInfoList::iterator aTablePos;
diff --git a/dbaccess/source/ui/dlg/dbfindex.hxx b/dbaccess/source/ui/dlg/dbfindex.hxx
index b58e1529ee38..d1fa3a04f0cb 100644
--- a/dbaccess/source/ui/dlg/dbfindex.hxx
+++ b/dbaccess/source/ui/dlg/dbfindex.hxx
@@ -82,13 +82,13 @@ protected:
VclPtr<PushButton> m_pAddAll;
VclPtr<PushButton> m_pRemoveAll;
- DECL_LINK_TYPED( TableSelectHdl, ComboBox&, void );
- DECL_LINK_TYPED( AddClickHdl, Button*, void );
- DECL_LINK_TYPED( RemoveClickHdl, Button*, void );
- DECL_LINK_TYPED( AddAllClickHdl, Button*, void );
- DECL_LINK_TYPED( RemoveAllClickHdl, Button*, void );
- DECL_LINK_TYPED( OKClickHdl, Button*, void );
- DECL_LINK_TYPED( OnListEntrySelected, ListBox&, void );
+ DECL_LINK( TableSelectHdl, ComboBox&, void );
+ DECL_LINK( AddClickHdl, Button*, void );
+ DECL_LINK( RemoveClickHdl, Button*, void );
+ DECL_LINK( AddAllClickHdl, Button*, void );
+ DECL_LINK( RemoveAllClickHdl, Button*, void );
+ DECL_LINK( OKClickHdl, Button*, void );
+ DECL_LINK( OnListEntrySelected, ListBox&, void );
OUString m_aDSN;
TableInfoList m_aTableInfoList;
diff --git a/dbaccess/source/ui/dlg/dbwiz.cxx b/dbaccess/source/ui/dlg/dbwiz.cxx
index 06ce8f6c4919..2062b4269d4f 100644
--- a/dbaccess/source/ui/dlg/dbwiz.cxx
+++ b/dbaccess/source/ui/dlg/dbwiz.cxx
@@ -107,7 +107,7 @@ void ODbTypeWizDialog::dispose()
svt::OWizardMachine::dispose();
}
-IMPL_LINK_TYPED(ODbTypeWizDialog, OnTypeSelected, OGeneralPage&, _rTabPage, void)
+IMPL_LINK(ODbTypeWizDialog, OnTypeSelected, OGeneralPage&, _rTabPage, void)
{
m_eType = _rTabPage.GetSelectedType();
const bool bURLRequired = m_pCollection->isConnectionUrlRequired(m_eType);
diff --git a/dbaccess/source/ui/dlg/dbwizsetup.cxx b/dbaccess/source/ui/dlg/dbwizsetup.cxx
index b9f5e1535920..3e1c2200216b 100644
--- a/dbaccess/source/ui/dlg/dbwizsetup.cxx
+++ b/dbaccess/source/ui/dlg/dbwizsetup.cxx
@@ -274,7 +274,7 @@ void ODbTypeWizDialogSetup::dispose()
svt::RoadmapWizard::dispose();
}
-IMPL_LINK_NOARG_TYPED(ODbTypeWizDialogSetup, OnTypeSelected, OGeneralPage&, void)
+IMPL_LINK_NOARG(ODbTypeWizDialogSetup, OnTypeSelected, OGeneralPage&, void)
{
activateDatabasePath();
}
@@ -571,7 +571,7 @@ VclPtr<TabPage> ODbTypeWizDialogSetup::createPage(WizardState _nState)
return pPage;
}
-IMPL_LINK_TYPED(ODbTypeWizDialogSetup, ImplModifiedHdl, OGenericAdministrationPage const *, _pConnectionPageSetup, void)
+IMPL_LINK(ODbTypeWizDialogSetup, ImplModifiedHdl, OGenericAdministrationPage const *, _pConnectionPageSetup, void)
{
m_bIsConnectable = _pConnectionPageSetup->GetRoadmapStateValue( );
enableState(PAGE_DBSETUPWIZARD_FINAL, m_bIsConnectable);
@@ -583,7 +583,7 @@ IMPL_LINK_TYPED(ODbTypeWizDialogSetup, ImplModifiedHdl, OGenericAdministrationPa
enableButtons( WizardButtonFlags::NEXT, m_bIsConnectable && (getCurrentState() != PAGE_DBSETUPWIZARD_FINAL));
}
-IMPL_LINK_TYPED(ODbTypeWizDialogSetup, ImplClickHdl, OMySQLIntroPageSetup*, _pMySQLIntroPageSetup, void)
+IMPL_LINK(ODbTypeWizDialogSetup, ImplClickHdl, OMySQLIntroPageSetup*, _pMySQLIntroPageSetup, void)
{
OUString sURLPrefix;
switch( _pMySQLIntroPageSetup->getMySQLMode() )
@@ -601,17 +601,17 @@ IMPL_LINK_TYPED(ODbTypeWizDialogSetup, ImplClickHdl, OMySQLIntroPageSetup*, _pMy
activatePath( static_cast<PathId>(m_pCollection->getIndexOf(sURLPrefix) + 1), true);
}
-IMPL_LINK_NOARG_TYPED(ODbTypeWizDialogSetup, OnChangeCreationMode, OGeneralPageWizard&, void)
+IMPL_LINK_NOARG(ODbTypeWizDialogSetup, OnChangeCreationMode, OGeneralPageWizard&, void)
{
activateDatabasePath();
}
-IMPL_LINK_NOARG_TYPED(ODbTypeWizDialogSetup, OnRecentDocumentSelected, OGeneralPageWizard&, void)
+IMPL_LINK_NOARG(ODbTypeWizDialogSetup, OnRecentDocumentSelected, OGeneralPageWizard&, void)
{
enableButtons( WizardButtonFlags::FINISH, !m_pGeneralPage->GetSelectedDocument().sURL.isEmpty() );
}
-IMPL_LINK_NOARG_TYPED(ODbTypeWizDialogSetup, OnSingleDocumentChosen, OGeneralPageWizard&, void)
+IMPL_LINK_NOARG(ODbTypeWizDialogSetup, OnSingleDocumentChosen, OGeneralPageWizard&, void)
{
if ( prepareLeaveCurrentState( eFinish ) )
onFinish();
@@ -892,7 +892,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
private:
- DECL_LINK_TYPED( OnOpenDocument, void*, void );
+ DECL_LINK( OnOpenDocument, void*, void );
};
AsyncLoader::AsyncLoader( const Reference< XComponentContext >& _rxORB, const OUString& _rURL )
@@ -926,7 +926,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
m_aAsyncCaller.Call();
}
- IMPL_LINK_NOARG_TYPED( AsyncLoader, OnOpenDocument, void*, void )
+ IMPL_LINK_NOARG( AsyncLoader, OnOpenDocument, void*, void )
{
try
{
diff --git a/dbaccess/source/ui/dlg/detailpages.cxx b/dbaccess/source/ui/dlg/detailpages.cxx
index b873bb0401e3..c84a438fb6ec 100644
--- a/dbaccess/source/ui/dlg/detailpages.cxx
+++ b/dbaccess/source/ui/dlg/detailpages.cxx
@@ -94,7 +94,7 @@ namespace dbaui
}
}
- IMPL_LINK_NOARG_TYPED(OCommonBehaviourTabPage, CharsetSelectHdl, ListBox&, void)
+ IMPL_LINK_NOARG(OCommonBehaviourTabPage, CharsetSelectHdl, ListBox&, void)
{
callModifiedHdl();
}
@@ -248,7 +248,7 @@ namespace dbaui
return bChangedSomething;
}
- IMPL_LINK_TYPED( ODbaseDetailsPage, OnButtonClicked, Button*, pButton, void )
+ IMPL_LINK( ODbaseDetailsPage, OnButtonClicked, Button*, pButton, void )
{
if (m_pIndexes == pButton)
{
@@ -519,7 +519,7 @@ namespace dbaui
m_pEDDriverClass->SetModifyFlag();
}
}
- IMPL_LINK_NOARG_TYPED(OGeneralSpecialJDBCDetailsPage, OnTestJavaClickHdl, Button*, void)
+ IMPL_LINK_NOARG(OGeneralSpecialJDBCDetailsPage, OnTestJavaClickHdl, Button*, void)
{
OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF");
OSL_ENSURE(m_bUseClass,"Who called me?");
@@ -705,7 +705,7 @@ namespace dbaui
fillBool(*_rSet,m_pCBUseSSL,DSID_CONN_LDAP_USESSL,bChangedSomething);
return bChangedSomething;
}
- IMPL_LINK_TYPED( OLDAPDetailsPage, OnCheckBoxClick, Button*, pCheckBox, void )
+ IMPL_LINK( OLDAPDetailsPage, OnCheckBoxClick, Button*, pCheckBox, void )
{
callModifiedHdl();
if ( pCheckBox == m_pCBUseSSL)
diff --git a/dbaccess/source/ui/dlg/detailpages.hxx b/dbaccess/source/ui/dlg/detailpages.hxx
index 10bcd9607340..8c5f0ff3f1a8 100644
--- a/dbaccess/source/ui/dlg/detailpages.hxx
+++ b/dbaccess/source/ui/dlg/detailpages.hxx
@@ -83,7 +83,7 @@ namespace dbaui
// <method>OGenericAdministrationPage::fillWindows</method>
virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList) override;
private:
- DECL_LINK_TYPED(CharsetSelectHdl, ListBox&, void);
+ DECL_LINK(CharsetSelectHdl, ListBox&, void);
};
// ODbaseDetailsPage
@@ -106,7 +106,7 @@ namespace dbaui
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override;
private:
- DECL_LINK_TYPED( OnButtonClicked, Button *, void );
+ DECL_LINK( OnButtonClicked, Button *, void );
};
// OAdoDetailsPage
@@ -177,7 +177,7 @@ namespace dbaui
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override;
virtual void callModifiedHdl(void* pControl = nullptr) override;
- DECL_LINK_TYPED(OnTestJavaClickHdl, Button*, void);
+ DECL_LINK(OnTestJavaClickHdl, Button*, void);
VclPtr<Edit> m_pEDHostname;
VclPtr<NumericField> m_pNFPortNumber;
@@ -237,7 +237,7 @@ namespace dbaui
sal_Int32 m_iSSLPort;
sal_Int32 m_iNormalPort;
- DECL_LINK_TYPED( OnCheckBoxClick, Button*, void );
+ DECL_LINK( OnCheckBoxClick, Button*, void );
};
// OTextDetailsPage
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx
index 97b79d2e408c..12dcc1773b7f 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -298,26 +298,26 @@ namespace dbaui
OSL_FAIL("DirectSQLDialog::switchToHistory: invalid position!");
}
- IMPL_LINK_NOARG_TYPED( DirectSQLDialog, OnStatementModified, Edit&, void )
+ IMPL_LINK_NOARG( DirectSQLDialog, OnStatementModified, Edit&, void )
{
m_pExecute->Enable(!m_pSQL->GetText().isEmpty());
}
- IMPL_LINK_NOARG_TYPED( DirectSQLDialog, OnCloseClick, Button*, void )
+ IMPL_LINK_NOARG( DirectSQLDialog, OnCloseClick, Button*, void )
{
EndDialog( RET_OK );
}
- IMPL_LINK_NOARG_TYPED( DirectSQLDialog, OnClose, void*, void )
+ IMPL_LINK_NOARG( DirectSQLDialog, OnClose, void*, void )
{
EndDialog( RET_OK );
}
- IMPL_LINK_NOARG_TYPED( DirectSQLDialog, OnExecute, Button*, void )
+ IMPL_LINK_NOARG( DirectSQLDialog, OnExecute, Button*, void )
{
executeCurrent();
}
- IMPL_LINK_NOARG_TYPED( DirectSQLDialog, OnListEntrySelected, ListBox&, void )
+ IMPL_LINK_NOARG( DirectSQLDialog, OnListEntrySelected, ListBox&, void )
{
if (!m_pSQLHistory->IsTravelSelect())
{
diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx b/dbaccess/source/ui/dlg/dlgsave.cxx
index ff0d5bfc7ee9..37d1cb59b590 100644
--- a/dbaccess/source/ui/dlg/dlgsave.cxx
+++ b/dbaccess/source/ui/dlg/dlgsave.cxx
@@ -277,7 +277,7 @@ void OSaveAsDlg::dispose()
ModalDialog::dispose();
}
-IMPL_LINK_TYPED(OSaveAsDlg, ButtonClickHdl, Button *, pButton, void)
+IMPL_LINK(OSaveAsDlg, ButtonClickHdl, Button *, pButton, void)
{
if (pButton == m_pImpl->m_pPB_OK) {
m_pImpl->m_aName = m_pImpl->m_pTitle->GetText();
@@ -304,7 +304,7 @@ IMPL_LINK_TYPED(OSaveAsDlg, ButtonClickHdl, Button *, pButton, void)
}
}
-IMPL_LINK_TYPED(OSaveAsDlg, EditModifyHdl, Edit&, rEdit, void )
+IMPL_LINK(OSaveAsDlg, EditModifyHdl, Edit&, rEdit, void )
{
if (&rEdit == m_pImpl->m_pTitle)
m_pImpl->m_pPB_OK->Enable(!m_pImpl->m_pTitle->GetText().isEmpty());
diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx b/dbaccess/source/ui/dlg/dlgsize.cxx
index eee8a4dd2097..6c2293bf44b2 100644
--- a/dbaccess/source/ui/dlg/dlgsize.cxx
+++ b/dbaccess/source/ui/dlg/dlgsize.cxx
@@ -76,7 +76,7 @@ sal_Int32 DlgSize::GetValue()
return (sal_Int32)m_pMF_VALUE->GetValue( FUNIT_CM );
}
-IMPL_LINK_TYPED( DlgSize, CbClickHdl, Button *, pButton, void )
+IMPL_LINK( DlgSize, CbClickHdl, Button *, pButton, void )
{
if( pButton == m_pCB_STANDARD )
{
diff --git a/dbaccess/source/ui/dlg/dsselect.cxx b/dbaccess/source/ui/dlg/dsselect.cxx
index 2b8f7286dedf..10231f2ec1d9 100644
--- a/dbaccess/source/ui/dlg/dsselect.cxx
+++ b/dbaccess/source/ui/dlg/dsselect.cxx
@@ -84,7 +84,7 @@ void ODatasourceSelectDialog::dispose()
}
-IMPL_LINK_TYPED( ODatasourceSelectDialog, ListDblClickHdl, ListBox&, rListBox, void )
+IMPL_LINK( ODatasourceSelectDialog, ListDblClickHdl, ListBox&, rListBox, void )
{
if (rListBox.GetSelectEntryCount())
EndDialog(RET_OK);
@@ -101,7 +101,7 @@ bool ODatasourceSelectDialog::Close()
}
#ifdef HAVE_ODBC_ADMINISTRATION
-IMPL_LINK_NOARG_TYPED(ODatasourceSelectDialog, ManageClickHdl, Button*, void)
+IMPL_LINK_NOARG(ODatasourceSelectDialog, ManageClickHdl, Button*, void)
{
if ( !m_pODBCManagement.get() )
m_pODBCManagement.reset( new OOdbcManagement( LINK( this, ODatasourceSelectDialog, ManageProcessFinished ) ) );
@@ -122,7 +122,7 @@ IMPL_LINK_NOARG_TYPED(ODatasourceSelectDialog, ManageClickHdl, Button*, void)
SAL_WARN_IF( !m_pODBCManagement->isRunning(), "dbaccess.ui", "ODatasourceSelectDialog::ManageClickHdl: success, but not running - you were *fast*!" );
}
-IMPL_LINK_NOARG_TYPED( ODatasourceSelectDialog, ManageProcessFinished, void*, void )
+IMPL_LINK_NOARG( ODatasourceSelectDialog, ManageProcessFinished, void*, void )
{
StringBag aOdbcDatasources;
OOdbcEnumeration aEnumeration;
diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx
index 3640938afe25..0de46b163af3 100644
--- a/dbaccess/source/ui/dlg/dsselect.hxx
+++ b/dbaccess/source/ui/dlg/dsselect.hxx
@@ -64,10 +64,10 @@ public:
virtual bool Close() override;
protected:
- DECL_LINK_TYPED( ListDblClickHdl, ListBox&, void );
+ DECL_LINK( ListDblClickHdl, ListBox&, void );
#ifdef HAVE_ODBC_ADMINISTRATION
- DECL_LINK_TYPED(ManageClickHdl, Button*, void);
- DECL_LINK_TYPED( ManageProcessFinished, void*, void );
+ DECL_LINK(ManageClickHdl, Button*, void);
+ DECL_LINK( ManageProcessFinished, void*, void );
#endif
void fillListBox(const StringBag& _rDatasources);
};
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx
index 570302e98ef5..f5821d592028 100644
--- a/dbaccess/source/ui/dlg/generalpage.cxx
+++ b/dbaccess/source/ui/dlg/generalpage.cxx
@@ -404,7 +404,7 @@ namespace dbaui
OGenericAdministrationPage::Reset(_rCoreAttrs);
}
- IMPL_LINK_TYPED( OGeneralPageWizard, OnEmbeddedDBTypeSelected, ListBox&, _rBox, void )
+ IMPL_LINK( OGeneralPageWizard, OnEmbeddedDBTypeSelected, ListBox&, _rBox, void )
{
// get the type from the entry data
const sal_Int32 nSelected = _rBox.GetSelectEntryPos();
@@ -424,7 +424,7 @@ namespace dbaui
return;
}
- IMPL_LINK_TYPED( OGeneralPage, OnDatasourceTypeSelected, ListBox&, _rBox, void )
+ IMPL_LINK( OGeneralPage, OnDatasourceTypeSelected, ListBox&, _rBox, void )
{
// get the type from the entry data
const sal_Int32 nSelected = _rBox.GetSelectEntryPos();
@@ -695,25 +695,25 @@ namespace dbaui
return aDocument;
}
- IMPL_LINK_NOARG_TYPED( OGeneralPageWizard, OnCreateDatabaseModeSelected, Button*, void )
+ IMPL_LINK_NOARG( OGeneralPageWizard, OnCreateDatabaseModeSelected, Button*, void )
{
m_aCreationModeHandler.Call( *this );
OnEmbeddedDBTypeSelected( *m_pEmbeddedDBType );
}
- IMPL_LINK_NOARG_TYPED( OGeneralPageWizard, OnSetupModeSelected, Button*, void )
+ IMPL_LINK_NOARG( OGeneralPageWizard, OnSetupModeSelected, Button*, void )
{
m_aCreationModeHandler.Call( *this );
OnDatasourceTypeSelected(*m_pDatasourceType);
}
- IMPL_LINK_NOARG_TYPED( OGeneralPageWizard, OnDocumentSelected, ListBox&, void )
+ IMPL_LINK_NOARG( OGeneralPageWizard, OnDocumentSelected, ListBox&, void )
{
m_aDocumentSelectionHandler.Call( *this );
}
- IMPL_LINK_NOARG_TYPED( OGeneralPageWizard, OnOpenDocument, Button*, void )
+ IMPL_LINK_NOARG( OGeneralPageWizard, OnOpenDocument, Button*, void )
{
::sfx2::FileDialogHelper aFileDlg(
ui::dialogs::TemplateDescription::FILEOPEN_READONLY_VERSION,
diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx
index 4f02f191b993..b7a5246dd6f4 100644
--- a/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/dbaccess/source/ui/dlg/generalpage.hxx
@@ -97,7 +97,7 @@ namespace dbaui
/// sets the title of the parent dialog
virtual void setParentTitle( const OUString& _sURLPrefix );
- DECL_LINK_TYPED(OnDatasourceTypeSelected, ListBox&, void);
+ DECL_LINK(OnDatasourceTypeSelected, ListBox&, void);
};
// OGeneralPageDialog
@@ -185,11 +185,11 @@ namespace dbaui
void initializeEmbeddedDBList();
protected:
- DECL_LINK_TYPED( OnEmbeddedDBTypeSelected, ListBox&, void );
- DECL_LINK_TYPED( OnCreateDatabaseModeSelected, Button*, void );
- DECL_LINK_TYPED( OnSetupModeSelected, Button*, void );
- DECL_LINK_TYPED( OnDocumentSelected, ListBox&, void );
- DECL_LINK_TYPED( OnOpenDocument, Button*, void );
+ DECL_LINK( OnEmbeddedDBTypeSelected, ListBox&, void );
+ DECL_LINK( OnCreateDatabaseModeSelected, Button*, void );
+ DECL_LINK( OnSetupModeSelected, Button*, void );
+ DECL_LINK( OnDocumentSelected, ListBox&, void );
+ DECL_LINK( OnOpenDocument, Button*, void );
};
} // namespace dbaui
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx
index 0661a95e0e83..53ecfa10e867 100644
--- a/dbaccess/source/ui/dlg/indexdialog.cxx
+++ b/dbaccess/source/ui/dlg/indexdialog.cxx
@@ -540,7 +540,7 @@ namespace dbaui
updateToolbox();
}
- IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnIndexAction, ToolBox*, void )
+ IMPL_LINK_NOARG( DbaIndexDialog, OnIndexAction, ToolBox*, void )
{
sal_uInt16 nClicked = m_pActions->GetCurItemId();
if (nClicked == mnNewCmdId)
@@ -555,7 +555,7 @@ namespace dbaui
OnResetIndex();
}
- IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnCloseDialog, Button*, void )
+ IMPL_LINK_NOARG( DbaIndexDialog, OnCloseDialog, Button*, void )
{
if (m_pIndexList->IsEditingActive())
{
@@ -601,14 +601,14 @@ namespace dbaui
EndDialog(RET_OK);
}
- IMPL_LINK_TYPED( DbaIndexDialog, OnEditIndexAgain, void*, p, void )
+ IMPL_LINK( DbaIndexDialog, OnEditIndexAgain, void*, p, void )
{
SvTreeListEntry* _pEntry = static_cast<SvTreeListEntry*>(p);
m_bEditAgain = false;
m_pIndexList->EditEntry(_pEntry);
}
- IMPL_LINK_TYPED( DbaIndexDialog, OnEntryEdited, SvTreeListEntry*, _pEntry, bool )
+ IMPL_LINK( DbaIndexDialog, OnEntryEdited, SvTreeListEntry*, _pEntry, bool )
{
Indexes::iterator aPosition = m_pIndexes->begin() + reinterpret_cast<sal_IntPtr>(_pEntry->GetUserData());
@@ -729,11 +729,11 @@ namespace dbaui
return true;
}
- IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnModifiedClick, Button*, void )
+ IMPL_LINK_NOARG( DbaIndexDialog, OnModifiedClick, Button*, void )
{
OnModified(*m_pFields);
}
- IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnModified, IndexFieldsControl&, void )
+ IMPL_LINK_NOARG( DbaIndexDialog, OnModified, IndexFieldsControl&, void )
{
OSL_ENSURE(m_pPreviousSelection, "DbaIndexDialog, OnModified: invalid call!");
Indexes::iterator aPosition = m_pIndexes->begin() + reinterpret_cast<sal_IntPtr>(m_pPreviousSelection->GetUserData());
@@ -771,7 +771,7 @@ namespace dbaui
}
}
- IMPL_LINK_NOARG_TYPED( DbaIndexDialog, OnIndexSelected, DbaIndexList&, void )
+ IMPL_LINK_NOARG( DbaIndexDialog, OnIndexSelected, DbaIndexList&, void )
{
m_pIndexList->EndSelection();
diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
index 77e395f025bd..a5f8509d9be1 100644
--- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
@@ -380,7 +380,7 @@ namespace dbaui
}
}
- IMPL_LINK_TYPED( IndexFieldsControl, OnListEntrySelected, DbaMouseDownListBoxController&, rController, void )
+ IMPL_LINK( IndexFieldsControl, OnListEntrySelected, DbaMouseDownListBoxController&, rController, void )
{
ListBoxControl& rListBox = rController.GetListBox();
if (!rListBox.IsTravelSelect())
diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx b/dbaccess/source/ui/dlg/paramdialog.cxx
index ee659136ebbb..a32a52f11477 100644
--- a/dbaccess/source/ui/dlg/paramdialog.cxx
+++ b/dbaccess/source/ui/dlg/paramdialog.cxx
@@ -157,7 +157,7 @@ namespace dbaui
m_pParam->GrabFocus();
}
- IMPL_LINK_NOARG_TYPED(OParameterDialog, OnValueLoseFocusHdl, Control&, void)
+ IMPL_LINK_NOARG(OParameterDialog, OnValueLoseFocusHdl, Control&, void)
{
OnValueLoseFocus();
}
@@ -213,7 +213,7 @@ namespace dbaui
return false;
}
- IMPL_LINK_TYPED(OParameterDialog, OnButtonClicked, Button*, pButton, void)
+ IMPL_LINK(OParameterDialog, OnButtonClicked, Button*, pButton, void)
{
if (m_pCancelBtn == pButton)
{
@@ -287,7 +287,7 @@ namespace dbaui
}
}
- IMPL_LINK_NOARG_TYPED(OParameterDialog, OnEntryListBoxSelected, ListBox&, void)
+ IMPL_LINK_NOARG(OParameterDialog, OnEntryListBoxSelected, ListBox&, void)
{
OnEntrySelected();
}
@@ -329,7 +329,7 @@ namespace dbaui
return false;
}
- IMPL_LINK_NOARG_TYPED(OParameterDialog, OnVisitedTimeout, Timer*, void)
+ IMPL_LINK_NOARG(OParameterDialog, OnVisitedTimeout, Timer*, void)
{
OSL_ENSURE(m_nCurrentlySelected != LISTBOX_ENTRY_NOTFOUND, "OParameterDialog::OnVisitedTimeout : invalid call !");
@@ -375,7 +375,7 @@ namespace dbaui
}
}
- IMPL_LINK_NOARG_TYPED(OParameterDialog, OnValueModified, Edit&, void)
+ IMPL_LINK_NOARG(OParameterDialog, OnValueModified, Edit&, void)
{
// mark the currently selected entry as dirty
OSL_ENSURE(static_cast<size_t>(m_nCurrentlySelected) < m_aVisitedParams.size(), "OParameterDialog::OnValueModified : invalid entry !");
diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx
index 5193bf587ede..710c5329ec56 100644
--- a/dbaccess/source/ui/dlg/queryfilter.cxx
+++ b/dbaccess/source/ui/dlg/queryfilter.cxx
@@ -453,7 +453,7 @@ Reference< XPropertySet > DlgFilterCrit::getMatchingColumn( const Edit& _rValueI
return getColumn( sField );
}
-IMPL_LINK_TYPED( DlgFilterCrit, PredicateLoseFocus, Control&, rControl, void )
+IMPL_LINK( DlgFilterCrit, PredicateLoseFocus, Control&, rControl, void )
{
Edit* _pField = static_cast<Edit*>(&rControl);
// retrieve the field affected
@@ -644,7 +644,7 @@ void DlgFilterCrit::EnableLines()
m_pET_WHEREVALUE3->Disable();
}
-IMPL_LINK_TYPED( DlgFilterCrit, ListSelectHdl, ListBox&, rListBox, void )
+IMPL_LINK( DlgFilterCrit, ListSelectHdl, ListBox&, rListBox, void )
{
OUString aName;
ListBox* pComp;
@@ -701,7 +701,7 @@ IMPL_LINK_TYPED( DlgFilterCrit, ListSelectHdl, ListBox&, rListBox, void )
EnableLines();
}
-IMPL_LINK_NOARG_TYPED( DlgFilterCrit, ListSelectCompHdl, ListBox&, void )
+IMPL_LINK_NOARG( DlgFilterCrit, ListSelectCompHdl, ListBox&, void )
{
EnableLines();
}
diff --git a/dbaccess/source/ui/dlg/queryorder.cxx b/dbaccess/source/ui/dlg/queryorder.cxx
index 7d7828f17a01..b4952833a769 100644
--- a/dbaccess/source/ui/dlg/queryorder.cxx
+++ b/dbaccess/source/ui/dlg/queryorder.cxx
@@ -143,7 +143,7 @@ void DlgOrderCrit::dispose()
ModalDialog::dispose();
}
-IMPL_LINK_NOARG_TYPED( DlgOrderCrit, FieldListSelectHdl, ListBox&, void )
+IMPL_LINK_NOARG( DlgOrderCrit, FieldListSelectHdl, ListBox&, void )
{
EnableLines();
}
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx
index aa29808b950f..3a5cd53d4c82 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -295,7 +295,7 @@ public:
}
protected:
- DECL_LINK_TYPED(OnExceptionSelected, SvTreeListBox*, void);
+ DECL_LINK(OnExceptionSelected, SvTreeListBox*, void);
};
OExceptionChainDialog::OExceptionChainDialog(vcl::Window* pParent, const ExceptionDisplayChain& _rExceptions)
@@ -350,7 +350,7 @@ OExceptionChainDialog::OExceptionChainDialog(vcl::Window* pParent, const Excepti
}
}
-IMPL_LINK_NOARG_TYPED(OExceptionChainDialog, OnExceptionSelected, SvTreeListBox*, void)
+IMPL_LINK_NOARG(OExceptionChainDialog, OnExceptionSelected, SvTreeListBox*, void)
{
SvTreeListEntry* pSelected = m_pExceptionList->FirstSelected();
OSL_ENSURE(!pSelected || !m_pExceptionList->NextSelected(pSelected), "OExceptionChainDialog::OnExceptionSelected : multi selection ?");
@@ -685,7 +685,7 @@ void OSQLMessageBox::dispose()
ButtonDialog::dispose();
}
-IMPL_LINK_NOARG_TYPED( OSQLMessageBox, ButtonClickHdl, Button *, void )
+IMPL_LINK_NOARG( OSQLMessageBox, ButtonClickHdl, Button *, void )
{
ScopedVclPtrInstance< OExceptionChainDialog > aDlg( this, m_pImpl->aDisplayInfo );
aDlg->Execute();
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx
index 7cacd382dc2c..7886c4483a81 100644
--- a/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/dbaccess/source/ui/dlg/tablespage.cxx
@@ -397,15 +397,15 @@ namespace dbaui
return nResult;
}
- IMPL_LINK_NOARG_TYPED( OTableSubscriptionPage, OnTreeEntryButtonChecked, SvTreeListBox*, void )
+ IMPL_LINK_NOARG( OTableSubscriptionPage, OnTreeEntryButtonChecked, SvTreeListBox*, void )
{
callModifiedHdl();
}
- IMPL_LINK_TYPED( OTableSubscriptionPage, OnTreeEntryChecked, void*, _pControl, void )
+ IMPL_LINK( OTableSubscriptionPage, OnTreeEntryChecked, void*, _pControl, void )
{
OnControlModified(_pControl);
}
- IMPL_LINK_TYPED( OTableSubscriptionPage, OnTreeEntryCompare, const SvSortData&, _rSortData, sal_Int32 )
+ IMPL_LINK( OTableSubscriptionPage, OnTreeEntryCompare, const SvSortData&, _rSortData, sal_Int32 )
{
const SvTreeListEntry* pLHS = static_cast<const SvTreeListEntry*>(_rSortData.pLeft);
const SvTreeListEntry* pRHS = static_cast<const SvTreeListEntry*>(_rSortData.pRight);
diff --git a/dbaccess/source/ui/dlg/tablespage.hxx b/dbaccess/source/ui/dlg/tablespage.hxx
index fdedfff8cc9e..001248ed203a 100644
--- a/dbaccess/source/ui/dlg/tablespage.hxx
+++ b/dbaccess/source/ui/dlg/tablespage.hxx
@@ -64,9 +64,9 @@ namespace dbaui
virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList) override;
virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList) override;
- DECL_LINK_TYPED( OnTreeEntryCompare, const SvSortData&, sal_Int32 );
- DECL_LINK_TYPED( OnTreeEntryChecked, void*, void );
- DECL_LINK_TYPED( OnTreeEntryButtonChecked, SvTreeListBox*, void );
+ DECL_LINK( OnTreeEntryCompare, const SvSortData&, sal_Int32 );
+ DECL_LINK( OnTreeEntryChecked, void*, void );
+ DECL_LINK( OnTreeEntryButtonChecked, SvTreeListBox*, void );
private:
diff --git a/dbaccess/source/ui/dlg/textconnectionsettings.cxx b/dbaccess/source/ui/dlg/textconnectionsettings.cxx
index e52ca7aeec7f..af6d70529a5e 100644
--- a/dbaccess/source/ui/dlg/textconnectionsettings.cxx
+++ b/dbaccess/source/ui/dlg/textconnectionsettings.cxx
@@ -67,7 +67,7 @@ namespace dbaui
return ModalDialog::Execute();
}
- IMPL_LINK_NOARG_TYPED( TextConnectionSettingsDialog, OnOK, Button*, void )
+ IMPL_LINK_NOARG( TextConnectionSettingsDialog, OnOK, Button*, void )
{
if ( m_pTextConnectionHelper->prepareLeave() )
{