summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-11-10 14:53:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-11 06:33:32 +0100
commitdfb2e07e32694c220e791574b7a6c05f5648c0c2 (patch)
treee8e90ed4827314c822d5a151ec4c4140e7480e58 /xmloff
parent122d1e391625ca21345c67c90720e971819aa4a6 (diff)
loplugin:xmlimport add more checks
to find places where the slowparser -> fastparser conversion work is incomplete, fixing one bug in the process. Change-Id: Ifd0d801d71eee0aaf25287fbac1a4237a811e7c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105511 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtfldi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 6612f86dbe92..58f0d08c46b9 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -3700,7 +3700,7 @@ void XMLDropDownFieldImportContext::ProcessAttribute(
sHelp = sAttrValue;
bHelpOK = true;
}
- else if (nAttrToken == XML_TOK_TEXTFIELD_HINT)
+ else if (nAttrToken == XML_ELEMENT(TEXT, XML_HINT))
{
sHint = sAttrValue;
bHintOK = true;