exports.cpp
changeset 774 2f002657dada
parent 753 25a77484ec72
child 777 8acac4fade1b
     1.1 --- a/exports.cpp	Tue Apr 07 16:15:53 2009 +0000
     1.2 +++ b/exports.cpp	Tue May 26 11:24:51 2009 +0000
     1.3 @@ -147,10 +147,9 @@
     1.4  	int i;
     1.5  	BranchItem *cur=NULL;
     1.6  	BranchItem *prev=NULL;
     1.7 -	int d;
     1.8  
     1.9  	BranchObj *bo;	//FIXME-3 still needed?
    1.10 -	cur=model->next (cur,prev,d);
    1.11 +	cur=model->next (cur,prev);
    1.12  	while (cur) 
    1.13  	{
    1.14  		if (cur->getType()==TreeItem::Branch || cur->getType()==TreeItem::MapCenter)
    1.15 @@ -199,7 +198,7 @@
    1.16  				}
    1.17  			}
    1.18  		}
    1.19 -		cur=model->next(cur,prev,d);
    1.20 +		cur=model->next(cur,prev);
    1.21  	}
    1.22  	file.close();
    1.23  }
    1.24 @@ -233,8 +232,7 @@
    1.25  	BranchObj *bo;  //FIXME-3 still needed?
    1.26  	BranchItem *cur=NULL;
    1.27  	BranchItem *prev=NULL;
    1.28 -	int d;
    1.29 -	cur=model->next (cur,prev,d);
    1.30 +	cur=model->next (cur,prev);
    1.31  	while (cur) 
    1.32  	{
    1.33  		bo=(BranchObj*)(cur->getLMO());
    1.34 @@ -257,7 +255,7 @@
    1.35  			ts << curIndent << "\"" << cur->getHeading()<<"\""<<endl;
    1.36  		}
    1.37  		
    1.38 -		cur=model->next(cur,prev,d);
    1.39 +		cur=model->next(cur,prev);
    1.40  		curIndent="";
    1.41  	}
    1.42  	file.close();
    1.43 @@ -393,8 +391,7 @@
    1.44    BranchObj *bo;
    1.45    BranchItem *cur=NULL;
    1.46    BranchItem *prev=NULL;
    1.47 -  int d;  //FIXME-3 still needed?
    1.48 -  model->next(cur,prev,d);
    1.49 +  model->next(cur,prev);
    1.50    while (cur) 
    1.51    {
    1.52  	bo=(BranchObj*)(cur->getLMO());
    1.53 @@ -426,7 +423,7 @@
    1.54  		  ts << ("\n");
    1.55  		}
    1.56  	}
    1.57 -    cur=model->next(cur,prev,d);
    1.58 +    cur=model->next(cur,prev);
    1.59     }
    1.60    file.close();
    1.61  }