[Libreoffice-commits] core.git: l10ntools/source

Gabor Kelemen kelemeng at ubuntu.com
Mon Jun 19 09:14:16 UTC 2017


 l10ntools/source/xmlparse.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6721e35f5a24c0a3ca343030115f1bf58f0627b5
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Sun Jun 11 23:48:24 2017 +0200

    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 at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

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 )
     {


More information about the Libreoffice-commits mailing list