[TechDraw] Simplify return logic

This commit is contained in:
Benjamin Bræstrup Sayoc
2023-04-09 16:34:23 +02:00
committed by WandererFan
parent 5d05acc87e
commit 3794897699
14 changed files with 20 additions and 42 deletions

View File

@@ -244,8 +244,7 @@ double ViewProviderDimension::prefWeight() const
int ViewProviderDimension::prefStandardAndStyle() const
{
int standardStyle = Preferences::getPreferenceGroup("Dimensions")->GetInt("StandardAndStyle", STD_STYLE_ISO_ORIENTED);
return standardStyle;
return Preferences::getPreferenceGroup("Dimensions")->GetInt("StandardAndStyle", STD_STYLE_ISO_ORIENTED);
}
void ViewProviderDimension::handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property *prop)