[sword-cvs] sword/include utilxml.h,1.7,1.8
sword@www.crosswire.org
sword@www.crosswire.org
Sat, 24 Jan 2004 11:47:43 -0700
- Previous message: [sword-cvs] sword/src/modules/filters gbffootnotes.cpp,1.24,1.25 gbfhtmlhref.cpp,1.25,1.26 osisfootnotes.cpp,1.14,1.15 osisheadings.cpp,1.11,1.12 osishtmlhref.cpp,1.20,1.21 osislemma.cpp,1.5,1.6 osismorph.cpp,1.10,1.11 osisplain.cpp,1.14,1.15 osisredletterwords.cpp,1.7,1.8 osisrtf.cpp,1.28,1.29 osisscripref.cpp,1.6,1.7 osiswebif.cpp,1.8,1.9 thmlfootnotes.cpp,1.16,1.17 thmlheadings.cpp,1.14,1.15 thmlhtml.cpp,1.31,1.32 thmlhtmlhref.cpp,1.47,1.48 thmlrtf.cpp,1.43,1.44 thmlscripref.cpp,1.18,1.19 thmlwebif.cpp,1.11,1.12
- Next message: [sword-cvs] sword/src/utilfuns utilxml.cpp,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/core/sword/include
In directory www:/tmp/cvs-serv9163/include
Modified Files:
utilxml.h
Log Message:
Fixed yesterdays problem with a much better solution
Index: utilxml.h
===================================================================
RCS file: /cvs/core/sword/include/utilxml.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- utilxml.h 16 Jul 2003 04:55:43 -0000 1.7
+++ utilxml.h 24 Jan 2004 18:47:41 -0000 1.8
@@ -46,13 +46,14 @@
void parse() const;
const char *getPart(const char *buf, int partNum = 0, char partSplit = '|') const;
+ static const char *nullstr;
public:
XMLTag(const char *tagString = 0);
~XMLTag();
void setText(const char *tagString);
- inline const char *getName() const { return name; }
+ inline const char *getName() const { return (name)?name:nullstr; }
inline bool isEmpty() const {
if (!parsed)
- Previous message: [sword-cvs] sword/src/modules/filters gbffootnotes.cpp,1.24,1.25 gbfhtmlhref.cpp,1.25,1.26 osisfootnotes.cpp,1.14,1.15 osisheadings.cpp,1.11,1.12 osishtmlhref.cpp,1.20,1.21 osislemma.cpp,1.5,1.6 osismorph.cpp,1.10,1.11 osisplain.cpp,1.14,1.15 osisredletterwords.cpp,1.7,1.8 osisrtf.cpp,1.28,1.29 osisscripref.cpp,1.6,1.7 osiswebif.cpp,1.8,1.9 thmlfootnotes.cpp,1.16,1.17 thmlheadings.cpp,1.14,1.15 thmlhtml.cpp,1.31,1.32 thmlhtmlhref.cpp,1.47,1.48 thmlrtf.cpp,1.43,1.44 thmlscripref.cpp,1.18,1.19 thmlwebif.cpp,1.11,1.12
- Next message: [sword-cvs] sword/src/utilfuns utilxml.cpp,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]