diff options
-rw-r--r-- | udm/inc/udm/html/htmlitem.hxx | 35 | ||||
-rw-r--r-- | udm/source/html/htmlitem.cxx | 19 |
2 files changed, 0 insertions, 54 deletions
diff --git a/udm/inc/udm/html/htmlitem.hxx b/udm/inc/udm/html/htmlitem.hxx index 932e11ef..d7ad2d74 100644 --- a/udm/inc/udm/html/htmlitem.hxx +++ b/udm/inc/udm/html/htmlitem.hxx @@ -36,15 +36,11 @@ // PARAMETERS -#define COMPATIBLE_NETSCAPE_47 - namespace csi { namespace html { - - /** <BODY> */ class Body : public csi::xml::AnElement @@ -56,8 +52,6 @@ class Body : public csi::xml::AnElement virtual bool LineBreakAfterBeginTag() const; }; - -#ifdef COMPATIBLE_NETSCAPE_47 /** <BR> */ class HorizontalLine : public xml::XmlCode @@ -67,20 +61,6 @@ class HorizontalLine : public xml::XmlCode : xml::XmlCode("<hr>\n") {} }; -#else -/** <HR> -*/ -class HorizontalLine : public csi::xml::AnEmptyElement -{ - public: - HorizontalLine() - : csi::xml::AnEmptyElement("hr") {} - private: - virtual bool LineBreakAfterBeginTag() const; -}; -#endif - - /** <IMG .... > */ class Image : public csi::xml::AnEmptyElement @@ -129,7 +109,6 @@ class Headline : public csi::xml::APureElement virtual bool LineBreakAfterEndTag() const; }; -#ifdef COMPATIBLE_NETSCAPE_47 /** <BR> */ class LineBreak : public xml::XmlCode @@ -139,20 +118,6 @@ class LineBreak : public xml::XmlCode : xml::XmlCode("<br>\n") {} }; -#else -/** <BR> -*/ -class LineBreak : public csi::xml::ASglTag -{ - public: - LineBreak() - : csi::xml::ASglTag("br") {} - private: - virtual bool LineBreakAfterBeginTag() const; -}; -#endif - - /** <b> */ class Bold : public csi::xml::APureElement diff --git a/udm/source/html/htmlitem.cxx b/udm/source/html/htmlitem.cxx index 057b50f9..6d4a6c2c 100644 --- a/udm/source/html/htmlitem.cxx +++ b/udm/source/html/htmlitem.cxx @@ -58,14 +58,6 @@ Body::LineBreakAfterBeginTag() const return true; } -#ifndef COMPATIBLE_NETSCAPE_47 -bool -HorizontalLine::LineBreakAfterBeginTag() const -{ - return true; -} -#endif - Image::Image( const String & i_sSrc, const String & i_sWidth, @@ -96,23 +88,12 @@ Headline::LineBreakAfterEndTag() const return true; } -#ifndef COMPATIBLE_NETSCAPE_47 -bool -LineBreak::LineBreakAfterBeginTag() const -{ - return true; -} -#endif - - bool TableCell::LineBreakAfterEndTag() const { return true; } - - TableCell & TableRow::AddCell( DYN Item * let_dpItem ) { |