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

we need to check that the content is equal as well, fdo#74077

There are a few more tokens that need to be inspected.

Change-Id: I59b5046ddde5eb8b638ad8f17b00bc7eb6966467
üst 2e1933af
...@@ -3472,6 +3472,18 @@ ScFormulaCell::CompareState ScFormulaCell::CompareByTokenArray( ScFormulaCell& r ...@@ -3472,6 +3472,18 @@ ScFormulaCell::CompareState ScFormulaCell::CompareByTokenArray( ScFormulaCell& r
bInvariant = false; bInvariant = false;
} }
break; break;
case formula::svDouble:
{
if(!rtl::math::approxEqual(pThisTok->GetDouble(), pOtherTok->GetDouble()))
return NotEqual;
}
break;
case formula::svString:
{
if(pThisTok->GetString() != pOtherTok->GetString())
return NotEqual;
}
break;
default: default:
; ;
} }
......
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