summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-06-11 23:48:24 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-06-19 11:13:49 +0200
commit6721e35f5a24c0a3ca343030115f1bf58f0627b5 (patch)
treeaa0bffffd022299434aa4d3aadbf65fad41e534a
parentf0d3a9bb00e11ca697666dd4e6f9c4dea38c7b31 (diff)
tdf#106175 Support <sub> tag in localized help text as well
Change-Id: If038daf4350bfcd2e7146809f63ee4f062a0dc81 Reviewed-on: https://gerrit.libreoffice.org/38670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--l10ntools/source/xmlparse.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 4ba87411e8b5..7717b22d3157 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -1064,11 +1064,11 @@ icu::UnicodeString lcl_QuotRange(
bool lcl_isTag( const icu::UnicodeString& rString )
{
- static const int nSize = 13;
+ static const int nSize = 14;
static const icu::UnicodeString vTags[nSize] = {
"ahelp", "link", "item", "emph", "defaultinline",
"switchinline", "caseinline", "variable",
- "bookmark_value", "image", "embedvar", "alt", "sup" };
+ "bookmark_value", "image", "embedvar", "alt", "sup", "sub" };
for( int nIndex = 0; nIndex < nSize; ++nIndex )
{