size_type size,
const Glib::ustring& uri)
: propertyreader(new PropertyReader(*this)),
- impl_( xmlReaderForMemory ((const char*)data, size, uri.c_str(), 0, 0) ),
+ impl_( xmlReaderForMemory ((const char*)data, size, uri.c_str(), nullptr, 0) ),
severity_( 0 )
{
if( ! impl_ )
}
check_for_exceptions();
- return 0;
+ return nullptr;
}
const Node* TextReader::get_current_node() const
}
check_for_exceptions();
- return 0;
+ return nullptr;
}
bool TextReader::next()
{
owner_.check_for_exceptions();
- if(value == (xmlChar *)0)
+ if (!value)
return Glib::ustring();
const Glib::ustring result = (char *)value;
{
owner_.check_for_exceptions();
- if(value == (xmlChar *)0)
+ if (!value)
return Glib::ustring();
return (const char*)value;