Kaydet (Commit) f6a887bd authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Markus Mohrhard

Probably good to move the more complicates test after the light-weight ones

We will return false if any of the tests here match, so good to test
the trivial things first before ones involving a potentially complex
function call.

Change-Id: I531282041c888799d37d95ae773daa349e60a37d
üst 457a9f40
...@@ -3804,9 +3804,6 @@ int splitup(int N, int K, int& A) ...@@ -3804,9 +3804,6 @@ int splitup(int N, int K, int& A)
bool ScFormulaCell::InterpretFormulaGroup() bool ScFormulaCell::InterpretFormulaGroup()
{ {
if (!officecfg::Office::Common::Misc::UseOpenCL::get())
return false;
if (!mxGroup || !pCode) if (!mxGroup || !pCode)
return false; return false;
...@@ -3832,6 +3829,9 @@ bool ScFormulaCell::InterpretFormulaGroup() ...@@ -3832,6 +3829,9 @@ bool ScFormulaCell::InterpretFormulaGroup()
return false; return false;
} }
if (!officecfg::Office::Common::Misc::UseOpenCL::get())
return false;
// TODO : Disable invariant formula group interpretation for now in order // TODO : Disable invariant formula group interpretation for now in order
// to get implicit intersection to work. // to get implicit intersection to work.
if (mxGroup->mbInvariant && false) if (mxGroup->mbInvariant && false)
......
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