[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - l10ntools/source

Gabor Kelemen kelemeng at ubuntu.com
Tue Jun 20 19:52:42 UTC 2017


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

New commits:
commit 2d6cf3f0ac2b2677e656b40197c96eac36b65773
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>
    (cherry picked from commit 6721e35f5a24c0a3ca343030115f1bf58f0627b5)
    Reviewed-on: https://gerrit.libreoffice.org/38955

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


More information about the Libreoffice-commits mailing list