[Libreoffice-commits] core.git: include/svtools svtools/source

Thomas Arnhold thomas at arnhold.org
Sun Oct 6 07:53:17 PDT 2013


 include/svtools/htmlkywd.hxx       |    8 --------
 svtools/source/svhtml/htmlkywd.cxx |    8 --------
 2 files changed, 16 deletions(-)

New commits:
commit c6413fec71cdb26496018c48eda59e1c8925d4fc
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sun Oct 6 16:51:23 2013 +0200

    html: remove duplicates
    
    OOO_STRING_SVTOOLS_HTML_C_LT is the same as OOO_STRING_SVTOOLS_HTML_C_lt
    and so on...
    
    Change-Id: I7cc94a662e83176c2c2c441cbce27b4f2774e4a4

diff --git a/include/svtools/htmlkywd.hxx b/include/svtools/htmlkywd.hxx
index 9e7fd91..7120393 100644
--- a/include/svtools/htmlkywd.hxx
+++ b/include/svtools/htmlkywd.hxx
@@ -276,14 +276,6 @@
 #define OOO_STRING_SVTOOLS_HTML_S_uml "uml"
 #define OOO_STRING_SVTOOLS_HTML_S_yen "yen"
 
-// Netscape kennt noch ein paar in Grossbuchstaben ...
-#define OOO_STRING_SVTOOLS_HTML_C_LT "lt"
-#define OOO_STRING_SVTOOLS_HTML_C_GT "gt"
-#define OOO_STRING_SVTOOLS_HTML_C_AMP "amp"
-#define OOO_STRING_SVTOOLS_HTML_C_QUOT "quot"
-#define OOO_STRING_SVTOOLS_HTML_S_COPY "copy"
-#define OOO_STRING_SVTOOLS_HTML_S_REG "reg"
-
 // HTML4
 #define OOO_STRING_SVTOOLS_HTML_S_alefsym "alefsym"
 #define OOO_STRING_SVTOOLS_HTML_S_Alpha "Alpha"
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx
index 334adb0..fd451d6 100644
--- a/svtools/source/svhtml/htmlkywd.cxx
+++ b/svtools/source/svhtml/htmlkywd.cxx
@@ -365,14 +365,6 @@ static HTML_CharEntry aHTMLCharNameTab[] = {
     {{OOO_STRING_SVTOOLS_HTML_S_uml},        168},
     {{OOO_STRING_SVTOOLS_HTML_S_yen},        165},
 
-// Netscape has some in upper case...
-    {{OOO_STRING_SVTOOLS_HTML_C_LT},             60},
-    {{OOO_STRING_SVTOOLS_HTML_C_GT},             62},
-    {{OOO_STRING_SVTOOLS_HTML_C_AMP},        38},
-    {{OOO_STRING_SVTOOLS_HTML_C_QUOT},       34},
-    {{OOO_STRING_SVTOOLS_HTML_S_COPY},      169},
-    {{OOO_STRING_SVTOOLS_HTML_S_REG},       174},
-
 // special characters, which will be converted to tokens !!!
     {{OOO_STRING_SVTOOLS_HTML_S_nbsp},      1},
     {{OOO_STRING_SVTOOLS_HTML_S_shy},       2},


More information about the Libreoffice-commits mailing list