Refactoring.

This commit is contained in:
Roman Telezhynskyi 2023-03-23 08:21:02 +02:00
parent f247a1e895
commit 3f2806a695

View File

@ -1592,13 +1592,13 @@ DimesionLabels VMeasurements::ReadDimensionLabels(const QDomElement &dElement) c
{
if (dElement.isNull())
{
return DimesionLabels();
return {};
}
QDomElement labelsTag = dElement.firstChildElement(TagLabels);
if (labelsTag.isNull())
{
return DimesionLabels();
return {};
}
DimesionLabels labels;