Kaydet (Commit) b0ff8deb authored tarafından Markus Mohrhard's avatar Markus Mohrhard

prevent 100% cpu on switched of autocalc with volatile func, fdo#42260

Actually conditional formats with sitched off autocalc are not working
correctly but this patch does not make it worse

Change-Id: I44a4450fb7845e5cb2d9b2ac605540722a5bd48e
üst 1a9745b5
...@@ -665,7 +665,7 @@ void ScConditionEntry::Interpret( const ScAddress& rPos ) ...@@ -665,7 +665,7 @@ void ScConditionEntry::Interpret( const ScAddress& rPos )
if (!pEff1->IsRunning()) // keine 522 erzeugen if (!pEff1->IsRunning()) // keine 522 erzeugen
{ {
//! Changed statt Dirty abfragen !!! //! Changed statt Dirty abfragen !!!
if (pEff1->GetDirty() && !bRelRef1) if (pEff1->GetDirty() && mpDoc->GetAutoCalc() && !bRelRef1)
bDirty = true; bDirty = true;
if (pEff1->IsValue()) if (pEff1->IsValue())
{ {
...@@ -694,7 +694,7 @@ void ScConditionEntry::Interpret( const ScAddress& rPos ) ...@@ -694,7 +694,7 @@ void ScConditionEntry::Interpret( const ScAddress& rPos )
{ {
if (!pEff2->IsRunning()) // keine 522 erzeugen if (!pEff2->IsRunning()) // keine 522 erzeugen
{ {
if (pEff2->GetDirty() && !bRelRef2) if (pEff2->GetDirty() && mpDoc->GetAutoCalc() && !bRelRef2)
bDirty = true; bDirty = true;
if (pEff2->IsValue()) if (pEff2->IsValue())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment