diff options
Diffstat (limited to 'avmedia/source/viewer/mediawindow_impl.cxx')
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index 2c2239691f7d..73b4bf4fd80f 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -253,6 +253,7 @@ uno::Reference< media::XPlayer > MediaWindowImpl::createPlayer( const OUString& void MediaWindowImpl::setURL( const OUString& rURL, OUString const& rTempURL, OUString const& rReferer) { + maReferer = rReferer; if( rURL != getURL() ) { if( mxPlayer.is() ) @@ -331,7 +332,7 @@ void MediaWindowImpl::updateMediaItem( MediaItem& rItem ) const rItem.setMute( isMute() ); rItem.setVolumeDB( getVolumeDB() ); rItem.setZoom( getZoom() ); - rItem.setURL( getURL(), mTempFileURL, ""/*TODO?*/ ); + rItem.setURL( getURL(), mTempFileURL, maReferer ); } void MediaWindowImpl::executeMediaItem( const MediaItem& rItem ) |