mapcenterobj.cpp
changeset 435 bd71dfb2292c
parent 411 910ba9fab728
child 459 9bc55005a0f1
     1.1 --- a/mapcenterobj.cpp	Thu Dec 14 17:01:44 2006 +0000
     1.2 +++ b/mapcenterobj.cpp	Wed Mar 21 11:51:38 2007 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  
     1.5  MapCenterObj::~MapCenterObj() 
     1.6  {
     1.7 -    cout << "Destr MapCenterObj\n";
     1.8 +//    cout << "Destr MapCenterObj\n";
     1.9  }	
    1.10  
    1.11  void MapCenterObj::clear() 
    1.12 @@ -138,7 +138,6 @@
    1.13  
    1.14      s=beginElement ("mapcenter" 
    1.15  		+getOrnAttr() 
    1.16 -		+attribut("frameType",frame->getFrameTypeName()) 
    1.17  		+areaAttr 
    1.18  		+idAttr 
    1.19  		+getIncludeImageAttr() );
    1.20 @@ -151,7 +150,12 @@
    1.21  	// Save flags. If verbose is set (export to xml dir), also write
    1.22  	// the flags as picture
    1.23  	s+=standardFlags->saveToDir(tmpdir+"/flags", "/standardFlag-", verbose);
    1.24 -    s=s+valueElement("heading", getHeading(),a);
    1.25 +
    1.26 +	// Save heading
    1.27 +    s+=valueElement("heading", getHeading(),a);
    1.28 +
    1.29 +	// Save frame
    1.30 +	s+=frame->saveToDir ();
    1.31  
    1.32  	// add link to file in s
    1.33  	if (!note.isEmpty() )