remove unused Link<> fields

Change-Id: I9898e04da6bebd1e08ab141e43439908fe1860b0
This commit is contained in:
Noel Grandin
2015-09-15 13:08:53 +02:00
parent ffb4d56c20
commit 95be2bbe0f
2 changed files with 2 additions and 27 deletions

View File

@@ -1220,18 +1220,7 @@ void SvtFileDialog::OpenHdl_Impl(void* pVoid)
OSL_FAIL("SvtFileDialog, OpenHdl_Impl: invalid mode!");
}
// notify interested parties
long nRet;
if ( _aOKHdl.IsSet() )
nRet = _aOKHdl.Call( this );
else
nRet = 1;
if ( nRet )
{
EndDialog( RET_OK );
}
EndDialog( RET_OK );
}
@@ -1475,16 +1464,7 @@ void SvtFileDialog::OpenMultiSelection_Impl()
if ( nCount && pEntry )
_aPath = SvtFileView::GetURL( pEntry );
// notify interested parties
long nRet;
if ( _aOKHdl.IsSet() )
nRet = _aOKHdl.Call( this );
else
nRet = 1;
if ( nRet )
EndDialog( RET_OK );
EndDialog( RET_OK );
}

View File

@@ -137,11 +137,6 @@ private:
protected:
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
// originally from VclFileDialog
Link<> _aOKHdl;
Link<> _aFileSelectHdl;
Link<> _aFilterSelectHdl;
OUString _aPath;
OUString _aDefExt;