App: modernize C++11
* use nullptr
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user