formula/source/core/api/FormulaCompiler.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a2565e067b903b6d6ef0ac6c38e18d085a719934
Author: Caolán McNamara <[email protected]>
Date:   Sat Apr 30 21:16:43 2016 +0100

    crashtesting: fix ooo123540-1.xlsx etc
    
    Change-Id: I178c3e5818f4538bc306694115bc3d1cbe95513e

diff --git a/formula/source/core/api/FormulaCompiler.cxx 
b/formula/source/core/api/FormulaCompiler.cxx
index 96bb268..85037d4 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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to