diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-06-28 18:43:54 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-08 08:59:06 +0200 |
commit | 4deb5e7168935b71e9eb036c0b47c400934d9e18 (patch) | |
tree | 7befdb84e43f0180fd67e69a17267d31fbfed2ab /cui/source | |
parent | 2b5ebcc45b598f7e778abd76184342b86300c3b0 (diff) |
cui: typed Link<>
Change-Id: I39541a18f3d28ff1b428d5a77e36c3bf4c43d6b5
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/customize/cfg.cxx | 3 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 15 |
2 files changed, 0 insertions, 18 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index c013d6a98080..2481d4886b37 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -4771,9 +4771,6 @@ IMPL_LINK(SvxNewToolbarDialog, ModifyHdl, Edit*, pEdit) { (void)pEdit; - if(aCheckNameHdl.IsSet()) - m_pBtnOK->Enable(aCheckNameHdl.Call(this) > 0); - return 0; } diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 4cb324e85186..6a0a9cabbd9e 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -531,7 +531,6 @@ public: class SvxToolbarEntriesListBox : public SvxMenuEntriesListBox { Size m_aCheckBoxImageSizePixel; - Link<> m_aChangedListener; SvLBoxButtonData* m_pButtonData; VclPtr<SvxConfigPage> pPage; @@ -551,11 +550,6 @@ public: virtual ~SvxToolbarEntriesListBox(); virtual void dispose() SAL_OVERRIDE; - void SetChangedListener( const Link<>& aChangedListener ) - { m_aChangedListener = aChangedListener; } - - const Link<>& GetChangedListener() const { return m_aChangedListener; } - Size GetCheckBoxPixelSize() const { return m_aCheckBoxImageSizePixel; } @@ -672,8 +666,6 @@ private: VclPtr<Edit> m_pEdtName; VclPtr<OKButton> m_pBtnOK; - Link<> aCheckNameHdl; - DECL_LINK(ModifyHdl, Edit*); public: @@ -688,13 +680,6 @@ public: return m_pEdtName->GetText(); } - void SetCheckNameHdl( const Link<>& rLink, bool bCheckImmediately = false ) - { - aCheckNameHdl = rLink; - if ( bCheckImmediately ) - m_pBtnOK->Enable( rLink.Call( this ) > 0 ); - } - void SetEditHelpId( const OString& aHelpId) { m_pEdtName->SetHelpId(aHelpId); |