diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-15 20:47:32 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-15 20:47:32 -0500 |
commit | daf480d62303155b9c490760f3a21ed8e94acdc0 (patch) | |
tree | 39de3b6fd6d7d8b0fb2d89b819624d26f77eb1dc /sc/source/ui/docshell/docsh4.cxx | |
parent | 8f87c3d7d5a7142d22429e66c8953852e9c1e580 (diff) |
sal_Bool to bool.
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index ae426a1e0187..4b79ecdda909 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1219,9 +1219,9 @@ sal_Bool ScDocShell::ExecuteChangeProtectionDialog( Window* _pParent, sal_Bool b //------------------------------------------------------------------ -void ScDocShell::DoRecalc( sal_Bool bApi ) +void ScDocShell::DoRecalc( bool bApi ) { - sal_Bool bDone = false; + bool bDone = false; ScTabViewShell* pSh = GetBestViewShell(); if ( pSh ) { @@ -1229,7 +1229,7 @@ void ScDocShell::DoRecalc( sal_Bool bApi ) if ( pHdl && pHdl->IsInputMode() && pHdl->IsFormulaMode() && !bApi ) { pHdl->FormulaPreview(); // Teilergebnis als QuickHelp - bDone = sal_True; + bDone = true; } else { @@ -1242,7 +1242,7 @@ void ScDocShell::DoRecalc( sal_Bool bApi ) WaitObject aWaitObj( GetActiveDialogParent() ); aDocument.CalcFormulaTree(); if ( pSh ) - pSh->UpdateCharts(sal_True); + pSh->UpdateCharts(true); aDocument.BroadcastUno( SfxSimpleHint( SFX_HINT_DATACHANGED ) ); @@ -1258,7 +1258,7 @@ void ScDocShell::DoRecalc( sal_Bool bApi ) } } -void ScDocShell::DoHardRecalc( sal_Bool /* bApi */ ) +void ScDocShell::DoHardRecalc( bool /* bApi */ ) { WaitObject aWaitObj( GetActiveDialogParent() ); ScTabViewShell* pSh = GetBestViewShell(); @@ -1270,7 +1270,7 @@ void ScDocShell::DoHardRecalc( sal_Bool /* bApi */ ) aDocument.CalcAll(); GetDocFunc().DetectiveRefresh(); // erzeugt eigenes Undo if ( pSh ) - pSh->UpdateCharts(sal_True); + pSh->UpdateCharts(true); // set notification flags for "calculate" event (used in SFX_HINT_DATACHANGED broadcast) // (might check for the presence of any formulas on each sheet) |