summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-11-03 01:29:12 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-05 13:07:02 +0100
commit2d2abfbb8682992e8584ac04ea8551fd59b0db3c (patch)
tree50d72fa4ad558ddf32ba521055433c51d914b716 /svx
parentca625e6c5387dbe1101b3d94f61f80fd5b8275fc (diff)
More !HAVE_FEATURE_AVMEDIA fallout
Change-Id: I5b2c24e555f77199782d60d56086455f04787821 Reviewed-on: https://gerrit.libreoffice.org/62869 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galctrl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 27074fd6560f..d2b781d27391 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -238,6 +238,7 @@ void GalleryPreview::StartDrag( sal_Int8, const Point& )
void GalleryPreview::PreviewMedia( const INetURLObject& rURL )
{
+#if HAVE_FEATURE_AVMEDIA
if (rURL.GetProtocol() != INetProtocol::NotValid)
{
::avmedia::MediaFloater* pFloater = avmedia::getMediaFloater();
@@ -251,6 +252,9 @@ void GalleryPreview::PreviewMedia( const INetURLObject& rURL )
if (pFloater)
pFloater->setURL( rURL.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous ), "", true );
}
+#else
+ (void) rURL;
+#endif
}
void drawTransparenceBackground(vcl::RenderContext& rOut, const Point& rPos, const Size& rSize)