summaryrefslogtreecommitdiff
path: root/udm/inc/udm
diff options
context:
space:
mode:
authorNikolai Pretzell <np@openoffice.org>2002-06-25 14:16:17 +0000
committerNikolai Pretzell <np@openoffice.org>2002-06-25 14:16:17 +0000
commit187524129d40e68c317cd585699ab5f6ddc9ae6e (patch)
tree3aa4b5563f06f124fec76d83d62c830f928a93ce /udm/inc/udm
parent6abe10805ce123a6ebdac0b6e8d61fa146a5ad52 (diff)
#100647# Missing anonymous namespaces and replaced assertion in namespace parsing by exception.
Diffstat (limited to 'udm/inc/udm')
-rw-r--r--udm/inc/udm/html/htmlitem.hxx24
-rw-r--r--udm/inc/udm/xml/xmlitem.hxx19
2 files changed, 28 insertions, 15 deletions
diff --git a/udm/inc/udm/html/htmlitem.hxx b/udm/inc/udm/html/htmlitem.hxx
index 1db63e4382f0..0de8edbc2473 100644
--- a/udm/inc/udm/html/htmlitem.hxx
+++ b/udm/inc/udm/html/htmlitem.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: htmlitem.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: np $ $Date: 2002-05-14 08:29:35 $
+ * last change: $Author: np $ $Date: 2002-06-25 15:15:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,7 +84,7 @@ class Body : public csi::xml::AnElement
{
public:
Body()
- : csi::xml::AnElement("body") {}
+ : csi::xml::AnElement( "body" ) {}
private:
virtual bool LineBreakAfterBeginTag() const;
};
@@ -135,7 +135,7 @@ class Label : public csi::xml::AnElement
Label(
const ::csv::String & i_sLabel )
: csi::xml::AnElement("a")
- { *this << new csi::xml::AnAttribute("name", i_sLabel); }
+ { *this << new csi::xml::AnAttribute(String("name"), i_sLabel); }
private:
virtual bool LineBreakAfterEndTag() const;
};
@@ -242,7 +242,7 @@ class Link : public csi::xml::AnElement
Link(
const ::csv::String &i_sDestinaton )
: csi::xml::AnElement("a")
- { *this << new csi::xml::AnAttribute("href", i_sDestinaton); }
+ { *this << new csi::xml::AnAttribute(String("href"), i_sDestinaton); }
};
class TableCell : public csi::xml::AnElement
@@ -364,7 +364,7 @@ class ClassAttr : public csi::xml::AnAttribute
public:
ClassAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "class", i_sValue ) {}
+ : csi::xml::AnAttribute( String("class"), i_sValue ) {}
};
class StyleAttr : public csi::xml::AnAttribute
@@ -372,7 +372,7 @@ class StyleAttr : public csi::xml::AnAttribute
public:
StyleAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "style", i_sValue ) {}
+ : csi::xml::AnAttribute( String("style"), i_sValue ) {}
};
class SizeAttr : public csi::xml::AnAttribute
@@ -380,7 +380,7 @@ class SizeAttr : public csi::xml::AnAttribute
public:
SizeAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "size", i_sValue ) {}
+ : csi::xml::AnAttribute( String("size"), i_sValue ) {}
};
class ColorAttr : public csi::xml::AnAttribute
@@ -388,7 +388,7 @@ class ColorAttr : public csi::xml::AnAttribute
public:
ColorAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "color", i_sValue ) {}
+ : csi::xml::AnAttribute( String("color"), i_sValue ) {}
};
class BgColorAttr : public csi::xml::AnAttribute
@@ -396,7 +396,7 @@ class BgColorAttr : public csi::xml::AnAttribute
public:
BgColorAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "bgcolor", i_sValue ) {}
+ : csi::xml::AnAttribute( String("bgcolor"), i_sValue ) {}
};
class AlignAttr : public csi::xml::AnAttribute
@@ -404,7 +404,7 @@ class AlignAttr : public csi::xml::AnAttribute
public:
AlignAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "align", i_sValue ) {}
+ : csi::xml::AnAttribute( String("align"), i_sValue ) {}
};
class WidthAttr : public csi::xml::AnAttribute
@@ -412,7 +412,7 @@ class WidthAttr : public csi::xml::AnAttribute
public:
WidthAttr(
const ::csv::String & i_sValue )
- : csi::xml::AnAttribute( "width", i_sValue ) {}
+ : csi::xml::AnAttribute( String("width"), i_sValue ) {}
};
diff --git a/udm/inc/udm/xml/xmlitem.hxx b/udm/inc/udm/xml/xmlitem.hxx
index e80939881288..bea7a6ecabcd 100644
--- a/udm/inc/udm/xml/xmlitem.hxx
+++ b/udm/inc/udm/xml/xmlitem.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlitem.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: np $ $Date: 2002-05-14 08:29:35 $
+ * last change: $Author: np $ $Date: 2002-06-25 15:15:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -239,6 +239,8 @@ class AnElement : public Element
public:
AnElement(
const ::csv::String& i_sTagName );
+ AnElement(
+ const char * i_sTagName );
~AnElement();
private:
// Interface Element
@@ -255,7 +257,7 @@ class AnElement : public Element
virtual const AttrList *
inq_Attrs() const;
// DATA
- ::csv::String sTagName;
+ ::csv::String sTagName;
Dyn< Item > pContent;
AttrList aAttrs;
};
@@ -266,6 +268,8 @@ class AnEmptyElement : public EmptyElement
public:
AnEmptyElement(
const ::csv::String & i_sTagName );
+ AnEmptyElement(
+ const char * i_sTagName );
~AnEmptyElement();
private:
// Interface Element:
@@ -284,6 +288,8 @@ class APureElement : public PureElement
public:
APureElement(
const ::csv::String & i_sTagName );
+ APureElement(
+ const char * i_sTagName );
~APureElement();
private:
// Interface Element:
@@ -302,6 +308,8 @@ class ASglTag : public SglTag
public:
ASglTag(
const ::csv::String & i_sTagName );
+ ASglTag(
+ const char * i_sTagName );
~ASglTag();
private:
// Interface Element:
@@ -320,6 +328,9 @@ class AnAttribute : public Attribute
AnAttribute(
const ::csv::String & i_sName,
const ::csv::String & i_sValue );
+ AnAttribute(
+ const char * i_sName,
+ const char * i_sValue );
~AnAttribute();
private:
// Interface Attribute:
@@ -361,6 +372,8 @@ class XmlCode : public TextContent
public:
XmlCode(
const ::csv::String & i_sText );
+ XmlCode(
+ const char * i_sText );
~XmlCode();
private:
virtual void do_WriteOut(