PVS: V1004 A pointer was used unsafely after it was verified against nullptr
This commit is contained in:
@@ -699,7 +699,7 @@ void DocumentObject::onChanged(const Property* prop)
|
||||
return;
|
||||
|
||||
if(!GetApplication().isRestoring() &&
|
||||
prop && !prop->testStatus(Property::PartialTrigger) &&
|
||||
!prop->testStatus(Property::PartialTrigger) &&
|
||||
getDocument() &&
|
||||
getDocument()->testStatus(Document::PartialDoc))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user