Bin pointless nested #if HAVE_FEATURE_AVMEDIA
Change-Id: Id36265c5bd50d95105e3abf37e999aba80b4712c
This commit is contained in:
parent
a1ed2eccb0
commit
bb59923408
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue