App: improve whitespaces

This commit is contained in:
wmayer
2022-08-01 01:29:47 +02:00
parent 7c6b6a3942
commit 632e167ed8
8 changed files with 21 additions and 20 deletions

View File

@@ -172,7 +172,7 @@ Property* DynamicProperty::addDynamicProperty(PropertyContainer &pc, const char*
if(prop && prop->getContainer()==&pc)
FC_THROWM(Base::NameError, "Property " << pc.getFullName() << '.' << name << " already exists");
if(Base::Tools::getIdentifier(name) != name)
if(Base::Tools::getIdentifier(name) != name)
FC_THROWM(Base::NameError, "Invalid property name '" << name << "'");
Base::Type propType = Base::Type::getTypeIfDerivedFrom(type, App::Property::getClassTypeId(), true);