mapcenterobj.cpp
changeset 134 6c199971ddb5
parent 91 855c486b9360
child 164 d442a66e9121
     1.1 --- a/mapcenterobj.cpp	Mon Feb 28 16:22:29 2005 +0000
     1.2 +++ b/mapcenterobj.cpp	Sat Jul 23 10:26:30 2005 +0000
     1.3 @@ -151,15 +151,20 @@
     1.4  	if (!note.isEmpty() )
     1.5  		s+=note.saveToDir();
     1.6  	
     1.7 +	// Save branches
     1.8 +    BranchObj *bo;
     1.9 +    for (bo=branch.first(); bo; bo=branch.next() )
    1.10 +		s+=bo->saveToDir(tmpdir,prefix, offset);
    1.11 +
    1.12  	// Save FloatImages
    1.13  	FloatImageObj *fio;
    1.14  	for (fio=floatimage.first(); fio; fio=floatimage.next() )
    1.15  		s+=fio->saveToDir (tmpdir,prefix);
    1.16  
    1.17 -	// Save branches
    1.18 -    BranchObj *bo;
    1.19 -    for (bo=branch.first(); bo; bo=branch.next() )
    1.20 -		s+=bo->saveToDir(tmpdir,prefix, offset);
    1.21 +	// Save XLinks
    1.22 +	XLinkObj *xlo;
    1.23 +    for (xlo=xlink.first(); xlo; xlo=xlink.next() )
    1.24 +		s+=xlo->saveToDir();
    1.25  
    1.26      decIndent();
    1.27      s+=endElement   ("mapcenter");