xml-freemind.cpp
changeset 777 8acac4fade1b
parent 775 6e4b586aa88a
child 787 c6bb4fdcc55f
     1.1 --- a/xml-freemind.cpp	Wed Jun 03 20:37:17 2009 +0000
     1.2 +++ b/xml-freemind.cpp	Mon Jun 29 10:27:42 2009 +0000
     1.3 @@ -70,10 +70,7 @@
     1.4  		//FIXME-3 TreeItem *ti=model->first();	//  this will be NULL !!!
     1.5  		TreeItem *ti=NULL;
     1.6  
     1.7 -		BranchObj *bo;
     1.8 -		if (ti->getType()==TreeItem::MapCenter)
     1.9 -			bo=(BranchObj*)(ti->getLMO());
    1.10 -		else
    1.11 +		if (ti->getType()!=TreeItem::MapCenter)
    1.12  			qWarning ("parseFreeMindHandler::startElement  no mapCenter!!");
    1.13  
    1.14  		//cout <<"model="<<model<<"   first="<<model->first()<<endl;