[TD] remove more superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-20 02:32:52 +02:00
parent fba4663baa
commit 8304a0942e
19 changed files with 89 additions and 87 deletions

View File

@@ -108,7 +108,7 @@ App::DocumentObjectExecReturn *LandmarkDimension::execute(void)
}
DrawViewPart* dvp = getViewPart();
if (dvp == nullptr) {
if (!dvp) {
return App::DocumentObject::StdReturn;
}
References2D.setValue(dvp);