diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-03-10 16:55:21 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-03-10 20:21:13 -0500 |
commit | 12343c15568dcc2c9209d8ca41fda2263122448f (patch) | |
tree | 3212a89c6cd8ea2e0aee7103aa9669bbb8a6f307 /sc/source/ui/view/viewfun6.cxx | |
parent | 99745dbcbb25b61437914c9782475d0b67a4b0bd (diff) | |
parent | ce6308e4fad2281241bf4ca78280eba29f744d43 (diff) |
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
Diffstat (limited to 'sc/source/ui/view/viewfun6.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun6.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx index 90e42b2ead28..0fe9c04c0294 100644 --- a/sc/source/ui/view/viewfun6.cxx +++ b/sc/source/ui/view/viewfun6.cxx @@ -67,7 +67,7 @@ using ::std::vector; void ScViewFunc::DetectiveAddPred() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveAddPred( GetViewData()->GetCurPos() ); if (!bDone) Sound::Beep(); @@ -78,7 +78,7 @@ void ScViewFunc::DetectiveAddPred() void ScViewFunc::DetectiveDelPred() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveDelPred( GetViewData()->GetCurPos() ); if (!bDone) Sound::Beep(); @@ -89,7 +89,7 @@ void ScViewFunc::DetectiveDelPred() void ScViewFunc::DetectiveAddSucc() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveAddSucc( GetViewData()->GetCurPos() ); if (!bDone) Sound::Beep(); @@ -100,7 +100,7 @@ void ScViewFunc::DetectiveAddSucc() void ScViewFunc::DetectiveDelSucc() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveDelSucc( GetViewData()->GetCurPos() ); if (!bDone) Sound::Beep(); @@ -111,7 +111,7 @@ void ScViewFunc::DetectiveDelSucc() void ScViewFunc::DetectiveAddError() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveAddError( GetViewData()->GetCurPos() ); if (!bDone) Sound::Beep(); @@ -122,7 +122,7 @@ void ScViewFunc::DetectiveAddError() void ScViewFunc::DetectiveDelAll() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveDelAll( GetViewData()->GetTabNo() ); if (!bDone) Sound::Beep(); @@ -133,7 +133,7 @@ void ScViewFunc::DetectiveDelAll() void ScViewFunc::DetectiveMarkInvalid() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc(). + sal_Bool bDone = pDocSh->GetDocFunc(). DetectiveMarkInvalid( GetViewData()->GetTabNo() ); if (!bDone) Sound::Beep(); @@ -144,7 +144,7 @@ void ScViewFunc::DetectiveMarkInvalid() void ScViewFunc::DetectiveRefresh() { ScDocShell* pDocSh = GetViewData()->GetDocShell(); - BOOL bDone = pDocSh->GetDocFunc().DetectiveRefresh(); + sal_Bool bDone = pDocSh->GetDocFunc().DetectiveRefresh(); if (!bDone) Sound::Beep(); @@ -156,7 +156,7 @@ static void lcl_jumpToRange(const ScRange& rRange, ScViewData* pView, ScDocument String aAddrText; rRange.Format(aAddrText, SCR_ABS_3D, pDoc); SfxStringItem aPosItem(SID_CURRENTCELL, aAddrText); - SfxBoolItem aUnmarkItem(FN_PARAM_1, TRUE); // remove existing selection + SfxBoolItem aUnmarkItem(FN_PARAM_1, true); // remove existing selection pView->GetDispatcher().Execute( SID_CURRENTCELL, SFX_CALLMODE_SYNCHRON | SFX_CALLMODE_RECORD, &aPosItem, &aUnmarkItem, 0L); |