diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-30 21:16:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-30 21:16:43 +0100 |
commit | a2565e067b903b6d6ef0ac6c38e18d085a719934 (patch) | |
tree | f6616b4d7c4b58968cfcc379856ba18e9c9c49a8 /formula | |
parent | a00a27f68ec6baf6d9c6194f840c000c80d1cf36 (diff) |
crashtesting: fix ooo123540-1.xlsx etc
Change-Id: I178c3e5818f4538bc306694115bc3d1cbe95513e
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 96bb268c12f1..85037d402877 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -312,6 +312,9 @@ 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 |