diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-16 23:26:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-17 14:05:13 +0100 |
commit | de8437359f8041db9b0cdf7f8bcb20b2583749d9 (patch) | |
tree | 2d52fd2328473dc66adcce39132de0793948ba05 /udm | |
parent | 0dc604a199583b88caaa91cdfddf794518fe07a3 (diff) |
remove unused ifdef branch
Diffstat (limited to 'udm')
-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 ae158964c238..e2335a2d2ee8 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 bf34cc3b4d69..278ac63a6b24 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 ) { |