1.1 --- a/mapcenterobj.cpp Thu Dec 14 17:01:44 2006 +0000
1.2 +++ b/mapcenterobj.cpp Wed Apr 11 09:21:14 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() )