summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/filedlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/filedlg.cxx')
-rw-r--r--sd/source/ui/dlg/filedlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx
index c7e153fe5823..d45b4823cf9c 100644
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -111,7 +111,6 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, PlayMusicHdl, void*, void)
OUString aUrl( GetPath() );
if ( !aUrl.isEmpty() )
{
-#if HAVE_FEATURE_AVMEDIA
try
{
mxPlayer.set( avmedia::MediaWindow::createPlayer( aUrl, "" ), css::uno::UNO_SET_THROW );
@@ -122,7 +121,7 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, PlayMusicHdl, void*, void)
{
mxPlayer.clear();
}
-#endif
+
if (mxPlayer.is())
{
try