summaryrefslogtreecommitdiffstats
path: root/src/Util/Xml.cpp
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-14 11:19:00 +0200
committerneoraider <devnull@localhost>2008-04-14 11:19:00 +0200
commit9c24bd0bb259124e36367c9c8a62af7b19ba8e67 (patch)
treefe3274185ef36bfd64e0c73ec364602109ba3a98 /src/Util/Xml.cpp
parent55af49b48328d4828fe8520d7d7aa0bc776afeb0 (diff)
downloadzoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.tar
zoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.zip
zoomedit:
* Use 0 instead of NULL consistantly
Diffstat (limited to 'src/Util/Xml.cpp')
-rw-r--r--src/Util/Xml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Util/Xml.cpp b/src/Util/Xml.cpp
index 5dac26a..0339b45 100644
--- a/src/Util/Xml.cpp
+++ b/src/Util/Xml.cpp
@@ -25,15 +25,15 @@ namespace Util {
xmlpp::Element* Xml::addSibling(xmlpp::Node *previous, const Glib::ustring &name) {
if(!previous)
- return NULL;
+ return 0;
- xmlNodePtr child = xmlNewNode(NULL, (const xmlChar*)name.c_str());
+ xmlNodePtr child = xmlNewNode(0, (const xmlChar*)name.c_str());
if(!child)
- return NULL;
+ return 0;
xmlNodePtr node = xmlAddNextSibling(previous->cobj(), child);
if(!node)
- return NULL;
+ return 0;
return static_cast<xmlpp::Element*>(node->_private);
}