summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-16 23:26:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-17 14:05:13 +0100
commit490125271a0308fa53db29183813ebc85b906b0c (patch)
tree81068e64be65392c3b85c5793c8dd3326c4a7de0
parent643a2082d574a15d3748b620939057c5e7edb8ce (diff)
remove unused ifdef branch
-rw-r--r--udm/inc/udm/html/htmlitem.hxx35
-rw-r--r--udm/source/html/htmlitem.cxx19
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 )
{