diff options
author | Eike Rathke <erack@redhat.com> | 2016-05-02 20:01:54 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-02 20:05:11 +0200 |
commit | b79d226017b1cb090838165f5a701f90fc278709 (patch) | |
tree | 30860586fbc03eee250523f0c1a3c61131eb457d /formula | |
parent | 8474c5f14966c9268f92499870feb3c3d21658b3 (diff) |
Revert "crashtesting: fix ooo123540-1.xlsx etc"
This reverts commit bfca69eddd3d94e74d6b73f91476b79c8f72cce7.
Rather let the caller check for a valid token instead of checking it
twice for other places that already do, and we usually need two valid
tokens before even one call makes sens.
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 85037d402877..96bb268c12f1 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -312,9 +312,6 @@ bool isRangeResultOpCode( OpCode eOp ) */ bool isPotentialRangeType( FormulaToken* pToken, bool bRPN, bool bRight ) { - if (!pToken) - return false; - switch (pToken->GetType()) { case svByte: // could be range result, but only a few |