diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-11-06 11:58:33 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-09-19 18:02:20 +0200 |
commit | 2b09926c939187097c66321ab9026eee4c726aa5 (patch) | |
tree | 59d222fefbfa5efbf2c7596daea96ba0547d9bd1 | |
parent | 0069417b55c99166aec5489ccef803eba25d2b4f (diff) |
Some !HAVE_FEATURE_AVMEDIA fallout
Change-Id: Ie7c2f75ec66ae4c1f8dc49075624617c294cbc25
Reviewed-on: https://gerrit.libreoffice.org/62945
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/79131
-rw-r--r-- | sd/source/ui/dlg/filedlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index 268c0f4a9f9d..75b7a5783b1a 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp> @@ -96,6 +98,7 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, PlayMusicHdl, void*, void) mxPlayer.clear(); } +#if HAVE_FEATURE_AVMEDIA if( mbLabelPlaying ) { try @@ -144,6 +147,7 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, PlayMusicHdl, void*, void) } } } +#endif } IMPL_LINK_NOARG(SdFileDialog_Imp, IsMusicStoppedHdl, Timer *, void) |