diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-25 20:37:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-25 21:19:56 -0400 |
commit | 66e4540041f09b4e779d27190f0925479f74103b (patch) | |
tree | 11cdcbe494b47e4a1e7296f2c3b15e4d08c70a35 /forms/source/component/clickableimage.cxx | |
parent | file version is no longer used in SfxMedium. (diff) | |
download | core-66e4540041f09b4e779d27190f0925479f74103b.tar.gz core-66e4540041f09b4e779d27190f0925479f74103b.zip |
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/source/component/clickableimage.cxx')
-rw-r--r-- | forms/source/component/clickableimage.cxx | 10 |
1 files changed, 0 insertions, 10 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 ) { |