diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-20 17:54:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-20 17:54:29 +0100 |
commit | 55b489ccbaf8bb17082d75a27e48b158008446ac (patch) | |
tree | 08a0f958208dcb83164d34c94f98cf7840e56dd5 /avmedia | |
parent | f62ef4e83082479785666ddd158df318820c7c0a (diff) |
Transport Referer from MediaWindowImpl::setURL to ...::updateMediaItem
Change-Id: I9cc6ae4fc5fc67837fcfc5fdea92baadd032996e
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 3 | ||||
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.hxx | 1 |
2 files changed, 3 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 ) diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx index 42d95108b86b..87c4167df61c 100644 --- a/avmedia/source/viewer/mediawindow_impl.hxx +++ b/avmedia/source/viewer/mediawindow_impl.hxx @@ -160,6 +160,7 @@ namespace avmedia OUString maFileURL; OUString mTempFileURL; + OUString maReferer; ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > mxPlayer; ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayerWindow > mxPlayerWindow; MediaWindow* mpMediaWindow; |