From 9c24bd0bb259124e36367c9c8a62af7b19ba8e67 Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 14 Apr 2008 09:19:00 +0000 Subject: zoomedit: * Use 0 instead of NULL consistantly --- src/Util/Xml.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Util/Xml.cpp') 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(node->_private); } -- cgit v1.2.3