svx/source/svdraw/svdomedia.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit 34243e3acfe8d27ef0b5bec97d4b795c5149974f Author: Armin Le Grand (Allotropia) <armin.le.gr...@me.com> AuthorDate: Tue May 25 11:38:36 2021 +0200 Commit: Armin Le Grand (Allotropia) <armin.le.gr...@me.com> CommitDate: Tue May 25 11:38:36 2021 +0200 Wasm correct unresolved CreateMediaTempFile Change-Id: Id697258ea694e1a6fc951c216a7cd34c116dd88d diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx index 5826d3e72bed..db4875c81d1a 100644 --- a/svx/source/svdraw/svdomedia.cxx +++ b/svx/source/svdraw/svdomedia.cxx @@ -260,6 +260,7 @@ void SdrMediaObj::SetInputStream(uno::Reference<io::XInputStream> const& xStream return; } +#if HAVE_FEATURE_AVMEDIA OUString tempFileURL; const bool bSuccess( ::avmedia::CreateMediaTempFile( @@ -270,12 +271,14 @@ void SdrMediaObj::SetInputStream(uno::Reference<io::XInputStream> const& xStream if (bSuccess) { m_xImpl->m_pTempFile = std::make_shared<::avmedia::MediaTempFile>(tempFileURL); -#if HAVE_FEATURE_AVMEDIA m_xImpl->m_MediaProperties.setURL( m_xImpl->m_LastFailedPkgURL, tempFileURL, ""); -#endif } m_xImpl->m_LastFailedPkgURL.clear(); // once only +#else + (void)xStream; + return; +#endif } /// copy a stream from XStorage to temp file _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits