summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-07-25 20:37:27 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-25 21:19:56 -0400
commit66e4540041f09b4e779d27190f0925479f74103b (patch)
tree11cdcbe494b47e4a1e7296f2c3b15e4d08c70a35 /forms
parent8a88273e75de0081c4284c9f09739da7f7f9bc3a (diff)
aDataAvailableLink in SfxMedium was never called.
Also remove all callback functions that would never get called because of this. Change-Id: I5dd5d64ccca9dd3d655428218957753d3200299e
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/clickableimage.cxx10
-rw-r--r--forms/source/component/clickableimage.hxx2
2 files changed, 0 insertions, 12 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index e58d91443674..783a13f8d0fb 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -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.
@@ -848,14 +846,6 @@ namespace frm
}
//------------------------------------------------------------------------------
- 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 )
{
diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx
index 09105c2f06db..45e51157a275 100644
--- a/forms/source/component/clickableimage.hxx
+++ b/forms/source/component/clickableimage.hxx
@@ -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; }