sc/source/core/data/formulacell.cxx |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit 33c387d27fd36448372d11cb4c4a1971ef5058d1
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Mon Jan 27 06:49:35 2014 +0100

    better check for more formula token types, related fdo#74077
    
    Change-Id: I1723b5640fe438e72d1bbe2946c3aac0ae244e81

diff --git a/sc/source/core/data/formulacell.cxx 
b/sc/source/core/data/formulacell.cxx
index 94abbbb..ca466a5 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -3484,6 +3484,18 @@ ScFormulaCell::CompareState 
ScFormulaCell::CompareByTokenArray( ScFormulaCell& r
                     return NotEqual;
             }
             break;
+            case formula::svIndex:
+            {
+                if(pThisTok->GetIndex() != pOtherTok->GetIndex())
+                    return NotEqual;
+            }
+            break;
+            case formula::svByte:
+            {
+                if(pThisTok->GetByte() != pOtherTok->GetByte())
+                    return NotEqual;
+            }
+            break;
             default:
                 ;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to