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 | |
parent | Fixed soft re-calc. (diff) | |
download | core-daf480d62303155b9c490760f3a21ed8e94acdc0.tar.gz core-daf480d62303155b9c490760f3a21ed8e94acdc0.zip |
sal_Bool to bool.
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 12 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 4 |
2 files changed, 8 insertions, 8 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) diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index c468ddfa9341..da3d58ad657b 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -311,8 +311,8 @@ public: sal_Bool MoveTable( SCTAB nSrcTab, SCTAB nDestTab, sal_Bool bCopy, sal_Bool bRecord ); - void DoRecalc( sal_Bool bApi ); - void DoHardRecalc( sal_Bool bApi ); + void DoRecalc( bool bApi ); + void DoHardRecalc( bool bApi ); void UpdateOle( const ScViewData* pViewData, sal_Bool bSnapSize = false); sal_Bool IsOle(); |