summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-05 14:07:38 +0100
committerEike Rathke <erack@redhat.com>2015-03-05 22:04:12 +0100
commit1b5a62e9da2211448ab6485fd75808758cd6e644 (patch)
tree2affed985484541c1edc13212503a71727b8910f /formula
parent2c0e1917c18711d6762e12042794b745f08cf62f (diff)
add ocTableRef to lcl_IsReference()
Change-Id: I63b41ea4619098390824f335859d62b4fa8fcc66
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/token.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 1780c57c0103..368b9b541ecb 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -56,6 +56,7 @@ inline bool lcl_IsReference( OpCode eOp, StackVar eType )
|| (eOp == ocColRowNameAuto && eType == svDoubleRef)
|| (eOp == ocColRowName && eType == svSingleRef)
|| (eOp == ocMatRef && eType == svSingleRef)
+ || (eOp == ocTableRef && (eType == svSingleRef || eType == svDoubleRef))
;
}