diff options
author | neoraider <devnull@localhost> | 2008-04-14 11:19:00 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-14 11:19:00 +0200 |
commit | 9c24bd0bb259124e36367c9c8a62af7b19ba8e67 (patch) | |
tree | fe3274185ef36bfd64e0c73ec364602109ba3a98 /src/Util | |
parent | 55af49b48328d4828fe8520d7d7aa0bc776afeb0 (diff) | |
download | zoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.tar zoomedit-9c24bd0bb259124e36367c9c8a62af7b19ba8e67.zip |
zoomedit:
* Use 0 instead of NULL consistantly
Diffstat (limited to 'src/Util')
-rw-r--r-- | src/Util/Xml.cpp | 8 |
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); } |