Kaydet (Commit) 9c162ddb authored tarafından Noel Grandin's avatar Noel Grandin

remove unused Link<> field

Change-Id: I121f133513a9897f38bd87be96c2cea39fbfc836
üst 4db28b21
...@@ -91,7 +91,6 @@ private: ...@@ -91,7 +91,6 @@ private:
sal_uInt16 mnCurButtonId; sal_uInt16 mnCurButtonId;
sal_uInt16 mnFocusButtonId; sal_uInt16 mnFocusButtonId;
bool mbFormat; bool mbFormat;
Link<> maClickHdl;
SAL_DLLPRIVATE void ImplInitButtonDialogData(); SAL_DLLPRIVATE void ImplInitButtonDialogData();
SAL_DLLPRIVATE VclPtr<PushButton> ImplCreatePushButton( ButtonDialogFlags nBtnFlags ); SAL_DLLPRIVATE VclPtr<PushButton> ImplCreatePushButton( ButtonDialogFlags nBtnFlags );
......
...@@ -260,13 +260,8 @@ void ButtonDialog::StateChanged( StateChangedType nType ) ...@@ -260,13 +260,8 @@ void ButtonDialog::StateChanged( StateChangedType nType )
void ButtonDialog::Click() void ButtonDialog::Click()
{ {
if ( !maClickHdl ) if ( IsInExecute() )
{ EndDialog( GetCurButtonId() );
if ( IsInExecute() )
EndDialog( GetCurButtonId() );
}
else
maClickHdl.Call( this );
} }
void ButtonDialog::AddButton( const OUString& rText, sal_uInt16 nId, void ButtonDialog::AddButton( const OUString& rText, sal_uInt16 nId,
......
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