svx/source/svdraw/svdomedia.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4023eec345eb210b053a708f3b253c54fdea123c Author: Tor Lillqvist <t...@iki.fi> AuthorDate: Tue Oct 25 11:37:42 2022 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Feb 10 07:56:36 2023 +0000 Guard against no HAVE_FEATURE_AVMEDIA in one more place This change was said to fix the build of the iOS app in co-22.05, but I am not sure if it actually is needed for that here in co-23.05. Still, this seems like the proper thing to do? Change-Id: I4a9e6f18e7b17664e5aed36233d5ccde44cf1194 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141796 Tested-by: Tor Lillqvist <t...@collabora.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146736 diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx index 9b17b7bf278a..c63df5d8b69e 100644 --- a/svx/source/svdraw/svdomedia.cxx +++ b/svx/source/svdraw/svdomedia.cxx @@ -474,6 +474,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper void SdrMediaObj::notifyPropertiesForLOKit() { +#if HAVE_FEATURE_AVMEDIA if (!m_xImpl->m_MediaProperties.getTempURL().isEmpty()) { const auto mediaId = reinterpret_cast<std::size_t>(this); @@ -491,6 +492,7 @@ void SdrMediaObj::notifyPropertiesForLOKit() SfxLokHelper::notifyMediaUpdate(json); } +#endif } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */