diff -r 94cd6a451593 -r 08b3473cb7ab branchobj.cpp --- a/branchobj.cpp Wed May 31 12:27:38 2006 +0000 +++ b/branchobj.cpp Thu Jul 13 08:40:03 2006 +0000 @@ -807,8 +807,21 @@ // Save XLinks XLinkObj *xlo; + //FIXME exponential increase in xlinks... + QString ol; // old link + QString cl; // current link for (xlo=xlink.first(); xlo; xlo=xlink.next() ) - s+=xlo->saveToDir(); + { + cl=xlo->saveToDir(); + if (cl!=ol) + { + s+=cl; + ol=cl; + } else + { + qWarning (QString("Ignoring of duplicate xLink in %1").arg(getHeading())); + } + } decIndent(); s+=endElement ("branch");