Fixed infinite loop.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-11 20:53:23 +02:00
parent 22bc725230
commit 67c2de94f7
2 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,7 @@ void VVITConverter::ConvertMeasurementsToV0_3_3()
const QDomNodeList nodeList = this->elementsByTagName(QStringLiteral("m"));
if (nodeList.isEmpty())
{
++i;
continue;
}

View File

@ -282,6 +282,7 @@ void VVSTConverter::ConvertMeasurementsToV0_4_2()
const QDomNodeList nodeList = this->elementsByTagName(QStringLiteral("m"));
if (nodeList.isEmpty())
{
++i;
continue;
}