diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-11-03 01:29:12 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-11-03 15:32:28 +0100 |
commit | 5b32b3df5d4e19b9515ac4e71958a3cdffdc68a8 (patch) | |
tree | 14ef82c8d23ccb210530debd36cc2e7e03e9cf37 /svx/source/gallery2/galctrl.cxx | |
parent | a3eb2aa471bcf0573d373edfa46a6b642fe5cdb1 (diff) |
More !HAVE_FEATURE_AVMEDIA fallout
Change-Id: I5b2c24e555f77199782d60d56086455f04787821
Reviewed-on: https://gerrit.libreoffice.org/62798
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'svx/source/gallery2/galctrl.cxx')
-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) |