summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-04-07 20:15:08 +0200
committerEike Rathke <erack@redhat.com>2015-04-07 23:23:04 +0200
commit6e3984f871b9b5035c7a928d401714dff7474fd7 (patch)
treecb807ae127db42d8c1ec039b3ed7485d7c856d7f /sc
parentdb1d278dcc308c73eb5edebc20481c96e7f479d8 (diff)
TableRef: only #Headers,#Data or #Data,#Totals combinations allowed
According to https://msdn.microsoft.com/en-us/library/dd906358.aspx Take them by their words. Change-Id: I832c860695833ad04338ebd56c5b56805f1aa0a0
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/token.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 899d1630c64a..6dfb23622160 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -222,9 +222,7 @@ public:
TOTALS = 8,
THIS_ROW = 16,
HEADERS_DATA = HEADERS | DATA,
- DATA_TOTALS = DATA | TOTALS,
- HEADERS_DATA_TOTALS = HEADERS | DATA | TOTALS,
- ALL_COLUMN = HEADERS_DATA_TOTALS | ALL // semantically the same, but just a [#All] item
+ DATA_TOTALS = DATA | TOTALS
};
ScTableRefToken( sal_uInt16 nIndex, Item eItem );