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

Andras Timar andras.timar at collabora.com
Mon Dec 2 08:56:21 PST 2013


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

New commits:
commit 2c0d52812310b1ee07cf5c9e6932c3a02fde0862
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon Dec 2 13:03:59 2013 +0100

    fdo#71056 add <sup> to list of inline help XML tags
    
    Conflicts:
    	l10ntools/source/xmlparse.cxx
    
    Change-Id: If0937bd571658e0f76a51e44dd3fa008f701f02e
    Reviewed-on: https://gerrit.libreoffice.org/6895
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 55bf4bc..2959bba 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -1215,11 +1215,11 @@ static icu::UnicodeString lcl_QuotRange(
 
 static bool lcl_isTag( const icu::UnicodeString& rString )
 {
-    const int nSize = 12;
+    static const int nSize = 13;
     static const icu::UnicodeString vTags[nSize] = {
         "ahelp", "link", "item", "emph", "defaultinline",
         "switchinline", "caseinline", "variable",
-        "bookmark_value", "image", "embedvar", "alt" };
+        "bookmark_value", "image", "embedvar", "alt", "sup" };
 
     for( int nIndex = 0; nIndex < nSize; ++nIndex )
     {


More information about the Libreoffice-commits mailing list