diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index 3560421cacc7..1a95c134bedb 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 } static void drawTransparenceBackground(vcl::RenderContext& rOut, const Point& rPos, const Size& rSize) |