summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-16 15:14:13 +0200
committerNoel Grandin <noel@peralex.com>2015-10-19 09:05:57 +0200
commit6aa90a44f23cc469c796d5fe79b1f9841ff5e847 (patch)
tree7a8062a6ba924229e5e2fa7484987fed5ee0fc71 /dbaccess/source
parent59418d8eac185a54a181c1300e8dca66170def4d (diff)
remove dead Link<> code
Change-Id: I01891cd34535ea08a07c3bb47976f6c9a70c3656
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx32
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.hxx8
2 files changed, 0 insertions, 40 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index eb17f6cc91df..689a47d24e91 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -94,17 +94,6 @@ namespace dbaui
m_pTextSeparator->InsertEntry( m_aTextSeparatorList.getToken( i, '\t' ) );
m_pTextSeparator->InsertEntry(m_aTextNone);
- // set the modify handlers
- m_pFieldSeparator->SetUpdateDataHdl(LINK(this, OTextConnectionHelper, OnControlEditModified));
- m_pFieldSeparator->SetSelectHdl(LINK(this, OTextConnectionHelper, ComboBoxSelectHdl));
- m_pTextSeparator->SetUpdateDataHdl(LINK(this, OTextConnectionHelper, OnControlEditModified));
- m_pTextSeparator->SetSelectHdl(LINK(this, OTextConnectionHelper, ComboBoxSelectHdl));
- m_pCharSet->SetSelectHdl(LINK(this, OTextConnectionHelper, CharsetSelectHdl));
-
- m_pFieldSeparator->SetModifyHdl(LINK(this, OTextConnectionHelper, OnControlEditModified));
- m_pTextSeparator->SetModifyHdl(LINK(this, OTextConnectionHelper, OnControlEditModified));
- m_pDecimalSeparator->SetModifyHdl(LINK(this, OTextConnectionHelper, OnControlEditModified));
- m_pThousandsSeparator->SetModifyHdl(LINK(this, OTextConnectionHelper, OnControlEditModified));
m_pOwnExtension->SetModifyHdl(LINK(this, OTextConnectionHelper, OnEditModified));
m_pAccessTextFiles->SetToggleHdl(LINK(this, OTextConnectionHelper, OnSetExtensionHdl));
m_pAccessCSVFiles->SetToggleHdl(LINK(this, OTextConnectionHelper, OnSetExtensionHdl));
@@ -151,21 +140,6 @@ namespace dbaui
Show();
}
- IMPL_LINK_TYPED(OTextConnectionHelper, CharsetSelectHdl, ListBox&, rListBox, void)
- {
- getControlModifiedLink().Call(&rListBox);
- }
-
- IMPL_LINK_TYPED(OTextConnectionHelper, ComboBoxSelectHdl, ComboBox&, rBox, void)
- {
- getControlModifiedLink().Call(&rBox);
- }
-
- IMPL_LINK_TYPED(OTextConnectionHelper, OnControlEditModified, Edit&, rEdit, void)
- {
- getControlModifiedLink().Call(&rEdit);
- }
-
OTextConnectionHelper::~OTextConnectionHelper()
{
disposeOnce();
@@ -195,12 +169,6 @@ namespace dbaui
TabPage::dispose();
}
- IMPL_LINK(OTextConnectionHelper, OnControlModified, Control*,)
- {
- callModifiedHdl();
- return 0L;
- }
-
IMPL_LINK_NOARG_TYPED(OTextConnectionHelper, OnEditModified, Edit&, void)
{
m_aGetExtensionHandler.Call(this);
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.hxx b/dbaccess/source/ui/dlg/TextConnectionHelper.hxx
index 625758ba21ce..c07f669d2d27 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.hxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.hxx
@@ -44,8 +44,6 @@ namespace dbaui
{
OTextConnectionHelper();
- Link<> m_aModifiedHandler; /// to be called if something on the page has been modified
-
public:
OTextConnectionHelper( vcl::Window* pParent, const short _nAvailableSections );
virtual ~OTextConnectionHelper();
@@ -80,14 +78,8 @@ namespace dbaui
short m_nAvailableSections;
protected:
- void callModifiedHdl() const { m_aModifiedHandler.Call(const_cast<OTextConnectionHelper *>(this)); }
- Link<> getControlModifiedLink() { return LINK(this, OTextConnectionHelper, OnControlModified); }
DECL_LINK_TYPED(OnSetExtensionHdl,RadioButton&,void);
- DECL_LINK(OnControlModified,Control*);
- DECL_LINK_TYPED(OnControlEditModified, Edit&, void);
DECL_LINK_TYPED(OnEditModified, Edit&, void);
- DECL_LINK_TYPED(CharsetSelectHdl,ListBox&,void);
- DECL_LINK_TYPED(ComboBoxSelectHdl,ComboBox&,void);
private:
OUString GetSeparator( const ComboBox& rBox, const OUString& rList );