App: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 17:29:23 +01:00
parent 4183c45a01
commit 1a20b7f119
67 changed files with 647 additions and 643 deletions

View File

@@ -389,13 +389,13 @@ void TransactionObject::addOrRemoveProperty(const Property* pcProp, bool add)
}
if(data.property) {
delete data.property;
data.property = 0;
data.property = nullptr;
}
data.propertyOrig = pcProp;
static_cast<DynamicProperty::PropData&>(data) =
pcProp->getContainer()->getDynamicPropertyData(pcProp);
if(add)
data.property = 0;
data.property = nullptr;
else {
data.property = pcProp->Copy();
data.propertyType = pcProp->getTypeId();