diff -r 910ba9fab728 -r eae9abe70d7c mapcenterobj.cpp --- a/mapcenterobj.cpp Thu Dec 14 17:01:44 2006 +0000 +++ b/mapcenterobj.cpp Wed Mar 21 11:51:38 2007 +0000 @@ -20,7 +20,7 @@ MapCenterObj::~MapCenterObj() { - cout << "Destr MapCenterObj\n"; +// cout << "Destr MapCenterObj\n"; } void MapCenterObj::clear() @@ -138,7 +138,6 @@ s=beginElement ("mapcenter" +getOrnAttr() - +attribut("frameType",frame->getFrameTypeName()) +areaAttr +idAttr +getIncludeImageAttr() ); @@ -151,7 +150,12 @@ // Save flags. If verbose is set (export to xml dir), also write // the flags as picture s+=standardFlags->saveToDir(tmpdir+"/flags", "/standardFlag-", verbose); - s=s+valueElement("heading", getHeading(),a); + + // Save heading + s+=valueElement("heading", getHeading(),a); + + // Save frame + s+=frame->saveToDir (); // add link to file in s if (!note.isEmpty() )