From 63b7e282a598ff5dc9d665127f567b20adc56f24 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Jan 2020 15:05:09 +0200 Subject: 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 --- xmloff/source/core/xmltoken.cxx | 1 + xmloff/source/token/tokens.txt | 1 + 2 files changed, 2 insertions(+) (limited to 'xmloff') 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 -- cgit