summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/editsh.cxx
diff options
context:
space:
mode:
authorMathieu Vonlanthen <mat_von@fastmail.fm>2012-07-19 11:02:45 +0200
committerMichael Meeks <michael.meeks@suse.com>2012-07-23 15:12:44 +0100
commit0f6101cfef4c2e45d9f1f1b3a61ef94799e4526b (patch)
tree5b545b1e2a221f5a1b3d36acc3298bcb2f3649f8 /sc/source/ui/view/editsh.cxx
parent65e2c77e762a667b965ab3dc2bcaf8b8d1a0bc91 (diff)
fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
Diffstat (limited to 'sc/source/ui/view/editsh.cxx')
-rw-r--r--sc/source/ui/view/editsh.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 66ac4881e427..305b24bc693f 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -292,10 +292,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
// while the dialog was open, edit mode may have been stopped
if (!SC_MOD()->IsInputMode())
- {
- Sound::Beep();
return;
- }
if (nFormat > 0)
{
@@ -366,10 +363,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
// while the dialog was open, edit mode may have been stopped
if (!SC_MOD()->IsInputMode())
- {
- Sound::Beep();
return;
- }
}
if ( aString.Len() )
@@ -420,7 +414,6 @@ void ScEditShell::Execute( SfxRequest& rReq )
// while the dialog was open, edit mode may have been stopped
if (!SC_MOD()->IsInputMode())
{
- Sound::Beep();
delete pDlg;
return;
}
@@ -466,7 +459,6 @@ void ScEditShell::Execute( SfxRequest& rReq )
// while the dialog was open, edit mode may have been stopped
if (!SC_MOD()->IsInputMode())
{
- Sound::Beep();
delete pDlg;
return;
}
@@ -482,7 +474,6 @@ void ScEditShell::Execute( SfxRequest& rReq )
case SID_TOGGLE_REL:
{
- bool bOk = false;
if (pEngine->GetParagraphCount() == 1)
{
String aText = pEngine->GetText();
@@ -502,14 +493,11 @@ void ScEditShell::Execute( SfxRequest& rReq )
pTopView->GetEditEngine()->SetText( aNew );
pTopView->SetSelection( aNewSel );
}
- bOk = true;
// Referenz wird selektiert -> beim Tippen nicht ueberschreiben
bSetSelIsRef = sal_True;
}
}
- if (!bOk)
- Sound::Beep(); // keine Referenzen oder mehrere Absaetze
}
break;