[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Wed Nov 20 08:33:11 PST 2013


 svx/source/svdraw/svdomedia.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a027a1bb685883c840ffaa112808106b891af728
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 20 17:32:44 2013 +0100

    Don't set Referer when accessing embedded media
    
    Change-Id: I9a1709eb0d5bb81c6c90c4b9f90ff7bed74cda67

diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 4f99452..fd6cd89 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -374,7 +374,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
                 if (bSuccess)
                 {
                     m_pImpl->m_pTempFile.reset(new MediaTempFile(tempFileURL));
-                    m_pImpl->m_MediaProperties.setURL(url, tempFileURL, rNewProperties.getReferer());
+                    m_pImpl->m_MediaProperties.setURL(url, tempFileURL, "");
                 }
                 else // this case is for Clone via operator=
                 {
@@ -385,7 +385,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
             else
             {
                 m_pImpl->m_MediaProperties.setURL(url,
-                        rNewProperties.getTempURL(), rNewProperties.getReferer());
+                        rNewProperties.getTempURL(), "");
             }
         }
         else


More information about the Libreoffice-commits mailing list