diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-08-15 11:51:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-08-15 12:03:13 +0300 |
commit | a69850bc0bb8ff90d5676259c42c5e98a7f11150 (patch) | |
tree | ebd654812de9abf824a06e4994cc2bb6f546e804 /sc/source/core/data/documen7.cxx | |
parent | 185e197724c1e2cdb07ebb94be617c856d45d96f (diff) |
Change HardRecalcState to enum class
Change-Id: I8b20ce6b58915c37e6d4caa11d2f4c724864a257
Diffstat (limited to 'sc/source/core/data/documen7.cxx')
-rw-r--r-- | sc/source/core/data/documen7.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index dd4134965ad8..b613166eac1a 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.cxx @@ -58,7 +58,7 @@ void ScDocument::Broadcast( const ScHint& rHint ) { if ( !pBASM ) return ; // Clipboard or Undo - if ( eHardRecalcState == HARDRECALCSTATE_OFF ) + if ( eHardRecalcState == HardRecalcState::OFF ) { ScBulkBroadcast aBulkBroadcast( pBASM, rHint.GetId()); // scoped bulk broadcast bool bIsBroadcasted = false; @@ -94,7 +94,7 @@ void ScDocument::BroadcastCells( const ScRange& rRange, SfxHintId nHint, bool bB SCCOL nCol1 = rRange.aStart.Col(); SCCOL nCol2 = rRange.aEnd.Col(); - if (eHardRecalcState == HARDRECALCSTATE_OFF) + if (eHardRecalcState == HardRecalcState::OFF) { ScBulkBroadcast aBulkBroadcast( pBASM, nHint); // scoped bulk broadcast bool bIsBroadcasted = false; @@ -222,7 +222,7 @@ void ScDocument::AreaBroadcast( const ScHint& rHint ) { if ( !pBASM ) return ; // Clipboard or Undo - if (eHardRecalcState == HARDRECALCSTATE_OFF) + if (eHardRecalcState == HardRecalcState::OFF) { ScBulkBroadcast aBulkBroadcast( pBASM, rHint.GetId()); // scoped bulk broadcast if ( pBASM->AreaBroadcast( rHint ) ) @@ -370,7 +370,7 @@ void ScDocument::CalcFormulaTree( bool bOnlyForced, bool bProgressBar, bool bSet //ATTENTION: _not_ SetAutoCalc( true ) because this might call CalcFormulaTree( true ) //ATTENTION: if it was disabled before and bHasForcedFormulas is set bAutoCalc = true; - if (eHardRecalcState == HARDRECALCSTATE_ETERNAL) + if (eHardRecalcState == HardRecalcState::ETERNAL) CalcAll(); else { |