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-20 21:52:21 +0200
commit2d6cf3f0ac2b2677e656b40197c96eac36b65773 (patch)
treebd12d049955ee84e9265b4183f7de8467381a738
parenta51022cebf8b515a7913d767a8c5f6886dc64720 (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> (cherry picked from commit 6721e35f5a24c0a3ca343030115f1bf58f0627b5) Reviewed-on: https://gerrit.libreoffice.org/38955
-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 fd6e1f7f2837..026964ea950d 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -1065,11 +1065,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 )
{