Merge with develop.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-02-01 12:26:08 +02:00
commit 415e5a25a5
2 changed files with 11 additions and 8 deletions

View File

@ -420,14 +420,14 @@
<xs:element name="csa" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="child" type="xs:unsignedInt" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="child" type="xs:unsignedInt" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="iPaths" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="child" type="xs:unsignedInt" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="child" type="xs:unsignedInt" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>

View File

@ -620,6 +620,8 @@ QDomElement GetTagChildren(VAbstractPattern *doc, quint32 id)
//---------------------------------------------------------------------------------------------------------------------
void SaveChildren(VAbstractPattern *doc, quint32 id, QDomElement section, const QVector<quint32> &children)
{
if (children.size() > 0)
{
for (int i=0; i<children.size(); ++i)
{
@ -630,6 +632,7 @@ void SaveChildren(VAbstractPattern *doc, quint32 id, QDomElement section, const
GetTagChildren(doc, id).appendChild(section);
}
}
//---------------------------------------------------------------------------------------------------------------------
void SaveNodesChildren(VAbstractPattern *doc, quint32 id, const QVector<quint32> &children)