summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 13:54:44 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:46 +0200
commitb4deeef405fc4200c1b33d2cecf7b301417b2398 (patch)
tree9ced886d424136a484fbb94e6d08e1c67136e897 /dbaccess
parent8d927d3f82a33a464662e4b54a8a07d30d4d1a19 (diff)
convert Link<> to typed
Change-Id: Ia520982b6764994fc4ab02cb12d1bd051e37883a
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/inc/WCopyTable.hxx2
-rw-r--r--dbaccess/source/ui/misc/WCopyTable.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/WCopyTable.hxx b/dbaccess/source/ui/inc/WCopyTable.hxx
index 711d9c145124..b5db8375115a 100644
--- a/dbaccess/source/ui/inc/WCopyTable.hxx
+++ b/dbaccess/source/ui/inc/WCopyTable.hxx
@@ -282,7 +282,7 @@ namespace dbaui
DECL_LINK_TYPED( ImplPrevHdl, Button*, void );
DECL_LINK_TYPED( ImplNextHdl, Button*, void);
DECL_LINK_TYPED( ImplOKHdl, Button*, void );
- DECL_LINK( ImplActivateHdl, void* );
+ DECL_LINK_TYPED( ImplActivateHdl, WizardDialog*, void );
bool CheckColumns(sal_Int32& _rnBreakPos);
void loadData( const ICopyTableSourceObject& _rSourceObject,
ODatabaseExport::TColumns& _rColumns,
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index 1baf3a9b1fab..8ab22d6d4fa2 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -937,7 +937,7 @@ void OCopyTableWizard::setCreatePrimaryKey( bool _bDoCreate, const OUString& _rS
pSettingsPage->setCreatePrimaryKey( _bDoCreate, _rSuggestedName );
}
-IMPL_LINK_NOARG(OCopyTableWizard, ImplActivateHdl)
+IMPL_LINK_NOARG_TYPED(OCopyTableWizard, ImplActivateHdl, WizardDialog*, void)
{
OWizardPage* pCurrent = static_cast<OWizardPage*>(GetPage(GetCurLevel()));
if(pCurrent)
@@ -952,7 +952,6 @@ IMPL_LINK_NOARG(OCopyTableWizard, ImplActivateHdl)
Invalidate();
}
- return 0;
}
void OCopyTableWizard::CheckButtons()