summaryrefslogtreecommitdiff
path: root/shell/source/all
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:23:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:39 +0100
commit7a8d48f57d106005be80e37ac74e8e2544ad83fe (patch)
tree4fe46b96ce47ff3bced1e9a6bf17cff87081b179 /shell/source/all
parent28034eaf925aa50d379dd5cffccc20d7edc95aec (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ied61699170bd5d2c3878135b1a43b4dc1deff4d4
Diffstat (limited to 'shell/source/all')
-rw-r--r--shell/source/all/xml_parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index 3c9669aaaae6..893cf0870f03 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -70,7 +70,7 @@ namespace /* private */
}
xml_parser::xml_parser(const XML_Char* EncodingName) :
- document_handler_(0),
+ document_handler_(nullptr),
xml_parser_(XML_ParserCreate(EncodingName))
{
init();
@@ -89,7 +89,7 @@ extern "C"
static void xml_start_element_handler(void* UserData, const XML_Char* name, const XML_Char** atts)
{
- assert(UserData != NULL);
+ assert(UserData != nullptr);
xml_parser* pImpl = get_parser_instance(UserData);