summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-21 15:05:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-21 17:56:38 +0100
commit63b7e282a598ff5dc9d665127f567b20adc56f24 (patch)
tree17140bf1e636b8ced18c15bc85c9ee75e6be3f65 /xmloff
parent3b9797671ce49f53b2c583c9201c348b55b10c96 (diff)
use more FastParser in ScXMLChangeInfoContext
had to hack the token constant generating process a little because we have two tokens that only differ in "-" vs "_" Change-Id: I0744d697918d28cca0c92b83ecfd37c1ae9d2bae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87138 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmltoken.cxx1
-rw-r--r--xmloff/source/token/tokens.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index dddb49ed2980..bbd9aa3fcf7c 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -542,6 +542,7 @@ namespace xmloff { namespace token {
TOKEN( "custom-label-field", XML_CUSTOM_LABEL_FIELD ),
TOKEN( "cut", XML_CUT ),
TOKEN( "cut-offs", XML_CUT_OFFS ),
+ TOKEN( "cut_offs", XML_CUT_OFFS2 ),
TOKEN( "cx", XML_CX ),
TOKEN( "cy", XML_CY ),
TOKEN( "cylinder", XML_CYLINDER ),
diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt
index cc25b084ce33..abd7dadcd260 100644
--- a/xmloff/source/token/tokens.txt
+++ b/xmloff/source/token/tokens.txt
@@ -465,6 +465,7 @@ custom-iconset-name
custom-label-field
cut
cut-offs
+cut_offs
cx
cy
cylinder