summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTableSourceContext.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-01 10:06:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-01 16:29:57 +0100
commit9dc284bb68d2648be6c1846df313519056a5b894 (patch)
treeee25b1cf612e2aea15f399355490f31ad40ed756 /xmloff/source/text/XMLIndexTableSourceContext.cxx
parent8601eca3c8573b433933ab59180624d798c6189e (diff)
fastparser in XMLIndexSourceBaseContext
Change-Id: Iadb23ecac16438281a7301a2913fc393c3445cac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106931 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLIndexTableSourceContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTableSourceContext.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx
index 87f06dc6eb2b..0ecfa333d335 100644
--- a/xmloff/source/text/XMLIndexTableSourceContext.cxx
+++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx
@@ -73,26 +73,26 @@ SvXMLEnumMapEntry<sal_uInt16> const lcl_aReferenceTypeTokenMap[] =
};
void XMLIndexTableSourceContext::ProcessAttribute(
- enum IndexSourceParamEnum eParam,
+ sal_Int32 nAttributeToken,
const OUString& rValue)
{
bool bTmp(false);
- switch (eParam)
+ switch (nAttributeToken)
{
- case XML_TOK_INDEXSOURCE_USE_CAPTION:
+ case XML_ELEMENT(TEXT, XML_USE_CAPTION):
if (::sax::Converter::convertBool(bTmp, rValue))
{
bUseCaption = bTmp;
}
break;
- case XML_TOK_INDEXSOURCE_SEQUENCE_NAME:
+ case XML_ELEMENT(TEXT, XML_CAPTION_SEQUENCE_NAME):
sSequence = rValue;
bSequenceOK = true;
break;
- case XML_TOK_INDEXSOURCE_SEQUENCE_FORMAT:
+ case XML_ELEMENT(TEXT, XML_CAPTION_SEQUENCE_FORMAT):
{
sal_uInt16 nTmp;
if (SvXMLUnitConverter::convertEnum(nTmp, rValue,
@@ -105,7 +105,7 @@ void XMLIndexTableSourceContext::ProcessAttribute(
}
default:
- XMLIndexSourceBaseContext::ProcessAttribute(eParam, rValue);
+ XMLIndexSourceBaseContext::ProcessAttribute(nAttributeToken, rValue);
break;
}
}