aDataAvailableLink in SfxMedium was never called.
Also remove all callback functions that would never get called because of this. Change-Id: I5dd5d64ccca9dd3d655428218957753d3200299e
This commit is contained in:
@@ -739,8 +739,6 @@ namespace frm
|
||||
delete m_pMedium;
|
||||
|
||||
m_pMedium = new SfxMedium(rURL, STREAM_STD_READ);
|
||||
m_pMedium->SetDataAvailableLink(
|
||||
STATIC_LINK(this, OClickableImageBaseModel, DataAvailableLink));
|
||||
|
||||
// Das XModel suchen, um an die Object-Shell oder zumindest den
|
||||
// Referer zu gelangen.
|
||||
@@ -847,14 +845,6 @@ namespace frm
|
||||
return 0;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
IMPL_STATIC_LINK( OClickableImageBaseModel, DataAvailableLink, void*, EMPTYARG )
|
||||
{
|
||||
::osl::MutexGuard aGuard( pThis->m_aMutex );
|
||||
pThis->DataAvailable();
|
||||
return 0;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void OClickableImageBaseModel::_propertyChanged( const PropertyChangeEvent& rEvt )
|
||||
throw( RuntimeException )
|
||||
|
@@ -74,8 +74,6 @@ namespace frm
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::form::submission::XSubmission >
|
||||
m_xSubmissionDelegate;
|
||||
|
||||
|
||||
DECL_STATIC_LINK( OClickableImageBaseModel, DataAvailableLink, void* );
|
||||
DECL_STATIC_LINK( OClickableImageBaseModel, DownloadDoneLink, void* );
|
||||
|
||||
inline ImageProducer* GetImageProducer() { return m_pProducer; }
|
||||
|
Reference in New Issue
Block a user