floatimageobj.cpp
changeset 247 5dfbe972d9df
parent 218 160459d924a1
child 258 42c8cf6dd1c3
     1.1 --- a/floatimageobj.cpp	Thu Feb 23 08:37:39 2006 +0000
     1.2 +++ b/floatimageobj.cpp	Wed Mar 15 13:53:53 2006 +0000
     1.3 @@ -146,12 +146,6 @@
     1.4  QString FloatImageObj::saveToDir (const QString &tmpdir,const QString &prefix, const QPoint &p)
     1.5  {
     1.6  	saveCounter++;
     1.7 -
     1.8 -	QString posAttr=
     1.9 -		attribut("relPosX",QString().setNum(relPos.x(),10)) +
    1.10 -		attribut("relPosY",QString().setNum(relPos.y(),10)); 
    1.11 -
    1.12 -	QString linkAttr=getLinkAttr();
    1.13  	
    1.14  	QString useOrientAttr;
    1.15  	if (useOrientation)
    1.16 @@ -185,13 +179,12 @@
    1.17  	icon->save (tmpdir + "/" + url, filetype);
    1.18  
    1.19      return singleElement ("floatimage",  
    1.20 -		posAttr + 
    1.21 -		linkAttr +
    1.22 -		useOrientAttr + 
    1.23 -		saveInMapAttr + 
    1.24 -		exportAttr + 
    1.25 -		zAttr + 
    1.26 -		attribut ("href",QString ("file:")+url)
    1.27 +		getOrnAttr() 
    1.28 +		+useOrientAttr 
    1.29 +		+saveInMapAttr 
    1.30 +		+exportAttr  
    1.31 +		+zAttr  
    1.32 +		+attribut ("href",QString ("file:")+url)
    1.33  	);	
    1.34  }
    1.35