diff options
Diffstat (limited to 'vcl/source/app/sound.cxx')
-rw-r--r-- | vcl/source/app/sound.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/app/sound.cxx b/vcl/source/app/sound.cxx index cae4991b3f18..13f832339977 100644 --- a/vcl/source/app/sound.cxx +++ b/vcl/source/app/sound.cxx @@ -35,6 +35,7 @@ #include <vcl/salframe.hxx> #include <tools/debug.hxx> #include <vcl/svdata.hxx> +#include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <vcl/salbtype.hxx> #include <vcl/sound.hxx> @@ -42,6 +43,10 @@ void Sound::Beep( SoundType eType, Window* pWindow ) { + // #i91990# + if ( Application::IsHeadlessModeEnabled() ) + return; + if( !pWindow ) { Window* pDefWindow = ImplGetDefaultWindow(); |