summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun6.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/viewfun6.cxx
parent65e2c77e762a667b965ab3dc2bcaf8b8d1a0bc91 (diff)
fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
Diffstat (limited to 'sc/source/ui/view/viewfun6.cxx')
-rw-r--r--sc/source/ui/view/viewfun6.cxx47
1 files changed, 8 insertions, 39 deletions
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index 87f5ec1fcb6a..2b9c1f703741 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -66,87 +66,56 @@ using ::std::vector;
void ScViewFunc::DetectiveAddPred()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveAddPred( GetViewData()->GetCurPos() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveAddPred( GetViewData()->GetCurPos() );
RecalcPPT(); //! use broadcast in DocFunc instead?
}
void ScViewFunc::DetectiveDelPred()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveDelPred( GetViewData()->GetCurPos() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveDelPred( GetViewData()->GetCurPos() );
RecalcPPT();
}
void ScViewFunc::DetectiveAddSucc()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveAddSucc( GetViewData()->GetCurPos() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveAddSucc( GetViewData()->GetCurPos() );
RecalcPPT();
}
void ScViewFunc::DetectiveDelSucc()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveDelSucc( GetViewData()->GetCurPos() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveDelSucc( GetViewData()->GetCurPos() );
RecalcPPT();
}
void ScViewFunc::DetectiveAddError()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveAddError( GetViewData()->GetCurPos() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveAddError( GetViewData()->GetCurPos() );
RecalcPPT();
}
void ScViewFunc::DetectiveDelAll()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveDelAll( GetViewData()->GetTabNo() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveDelAll( GetViewData()->GetTabNo() );
RecalcPPT();
}
void ScViewFunc::DetectiveMarkInvalid()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().
- DetectiveMarkInvalid( GetViewData()->GetTabNo() );
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveMarkInvalid( GetViewData()->GetTabNo() );
RecalcPPT();
}
void ScViewFunc::DetectiveRefresh()
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
- sal_Bool bDone = pDocSh->GetDocFunc().DetectiveRefresh();
- if (!bDone)
- Sound::Beep();
-
+ pDocSh->GetDocFunc().DetectiveRefresh();
RecalcPPT();
}