Use '0' instead of NULL

This commit is contained in:
2011-08-14 17:47:16 +02:00
parent c4a88fb459
commit 66a60bf7a6
22 changed files with 67 additions and 67 deletions

View File

@@ -47,7 +47,7 @@ bool ExportEngine::SaveFile(std::vector<Operation>* operations)
unsigned int month, year;
std::map<wxString, int>::iterator it;
if (!operations) return NULL;
if (!operations) return 0;
_accounts.clear();
_categories.clear();

View File

@@ -159,7 +159,7 @@ bool XMLExportEngine::SaveFile(std::vector<Operation>* operations)
return false;
}
rc = xmlTextWriterStartDocument(_writer, NULL, "UTF-8", NULL);
rc = xmlTextWriterStartDocument(_writer, 0, "UTF-8", 0);
if (rc < 0) return false;