Kaydet (Commit) 4deb5e71 authored tarafından Noel Grandin's avatar Noel Grandin

cui: typed Link<>

Change-Id: I39541a18f3d28ff1b428d5a77e36c3bf4c43d6b5
üst 2b5ebcc4
......@@ -4771,9 +4771,6 @@ IMPL_LINK(SvxNewToolbarDialog, ModifyHdl, Edit*, pEdit)
{
(void)pEdit;
if(aCheckNameHdl.IsSet())
m_pBtnOK->Enable(aCheckNameHdl.Call(this) > 0);
return 0;
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment