diff options
author | Mathieu Vonlanthen <mat_von@fastmail.fm> | 2012-07-19 11:02:45 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-07-23 15:12:44 +0100 |
commit | 0f6101cfef4c2e45d9f1f1b3a61ef94799e4526b (patch) | |
tree | 5b545b1e2a221f5a1b3d36acc3298bcb2f3649f8 /vcl/source/control | |
parent | 65e2c77e762a667b965ab3dc2bcaf8b8d1a0bc91 (diff) |
fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/field2.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index 9244df52870f..43c324a628c2 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -624,7 +624,6 @@ static sal_Bool ImplPatternProcessKeyInput( Edit* pEdit, const KeyEvent& rKEvt, // mask is equal at all input positions if ( !bSameMask ) { - Sound::Beep(); return sal_True; } } @@ -730,9 +729,7 @@ static sal_Bool ImplPatternProcessKeyInput( Edit* pEdit, const KeyEvent& rKEvt, aStr += cChar; } - if ( bError ) - Sound::Beep(); - else + if ( !bError ) { rbInKeyInput = sal_True; Selection aNewSel( ImplPatternRightPos( aStr, rEditMask, nFormatFlags, bSameMask, nNewPos ) ); @@ -742,8 +739,6 @@ static sal_Bool ImplPatternProcessKeyInput( Edit* pEdit, const KeyEvent& rKEvt, rbInKeyInput = sal_False; } } - else - Sound::Beep(); return sal_True; } |