summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2022-10-25 11:37:42 +0300
committerTor Lillqvist <tml@collabora.com>2022-10-25 14:05:15 +0200
commit125af2da3f23453f86860b15b11cfdaf52324391 (patch)
tree2bcfdbb086559fb61b358170c1caf5656b9fec0f /svx/source
parentdb518e432368f98ed24bdad48beac370475b67b1 (diff)
Guard against no HAVE_FEATURE_AVMEDIA in one more place
Fixes build of the iOS app. Change-Id: I4a9e6f18e7b17664e5aed36233d5ccde44cf1194 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141796 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdomedia.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 5b0bb80d4920..54ebed5425db 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -444,6 +444,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);
@@ -461,6 +462,7 @@ void SdrMediaObj::notifyPropertiesForLOKit()
SfxLokHelper::notifyMediaUpdate(json);
}
+#endif
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */