diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-05-18 09:07:52 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-05-18 09:07:52 +0000 |
commit | 97b5e20963389209c1c935318c3c1d6317f797d5 (patch) | |
tree | b60cb6f4ee79c94ce355512bc2dc09c7808ebdd4 /vcl/source | |
parent | 0bd9bc35b171520ded52332dca9b88a962313de8 (diff) |
INTEGRATION: CWS wot02 (1.10.272); FILE MERGED
2006/05/15 13:13:20 pl 1.10.272.1: #135437# prevent creation of default window while already closing shop
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/sound.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/source/app/sound.cxx b/vcl/source/app/sound.cxx index edd75006237c..8450e8d6dd3d 100644 --- a/vcl/source/app/sound.cxx +++ b/vcl/source/app/sound.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sound.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2005-09-09 11:42:15 $ + * last change: $Author: vg $ $Date: 2006-05-18 10:07:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -267,7 +267,10 @@ void Sound::Pause() void Sound::Beep( SoundType eType, Window* pWindow ) { if( !pWindow ) - ImplGetDefaultWindow()->ImplGetFrame()->Beep( eType ); + { + Window* pDefWindow = ImplGetDefaultWindow(); + pDefWindow->ImplGetFrame()->Beep( eType ); + } else pWindow->ImplGetFrame()->Beep( eType ); } |