aboutsummaryrefslogtreecommitdiff
path: root/src/xmlnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xmlnode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlnode.cpp b/src/xmlnode.cpp
index e5c77e2..8468047 100644
--- a/src/xmlnode.cpp
+++ b/src/xmlnode.cpp
@@ -368,8 +368,8 @@ XmlNode *XmlNode::getCopy()
368 { 368 {
369 XmlNode *pChild = ((XmlNode *)lChildren[j])->getCopy(); 369 XmlNode *pChild = ((XmlNode *)lChildren[j])->getCopy();
370 pNew->lChildren.setAt( j, pChild ); 370 pNew->lChildren.setAt( j, pChild );
371 pChild->pParent = this; 371 pChild->pParent = pNew;
372 hChildren.insert( pChild->getName(), pChild ); 372 pNew->hChildren.insert( pChild->getName(), pChild );
373 } 373 }
374 374
375 nSize = lPropNames.getSize(); 375 nSize = lPropNames.getSize();