[QGIS Commit] r13747 - trunk/qgis/src/core/composer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Jun 18 04:45:40 EDT 2010
Author: mhugent
Date: 2010-06-18 08:45:40 +0000 (Fri, 18 Jun 2010)
New Revision: 13747
Modified:
trunk/qgis/src/core/composer/qgscomposermap.cpp
Log:
Fix for bug #2683
Modified: trunk/qgis/src/core/composer/qgscomposermap.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgscomposermap.cpp 2010-06-17 21:34:14 UTC (rev 13746)
+++ trunk/qgis/src/core/composer/qgscomposermap.cpp 2010-06-18 08:45:40 UTC (rev 13747)
@@ -601,10 +601,10 @@
//extent
QDomElement extentElem = doc.createElement( "Extent" );
- extentElem.setAttribute( "xmin", QString::number( mExtent.xMinimum() ) );
- extentElem.setAttribute( "xmax", QString::number( mExtent.xMaximum() ) );
- extentElem.setAttribute( "ymin", QString::number( mExtent.yMinimum() ) );
- extentElem.setAttribute( "ymax", QString::number( mExtent.yMaximum() ) );
+ extentElem.setAttribute( "xmin", mExtent.xMinimum() );
+ extentElem.setAttribute( "xmax", mExtent.xMaximum() );
+ extentElem.setAttribute( "ymin", mExtent.yMinimum() );
+ extentElem.setAttribute( "ymax", mExtent.yMaximum() );
composerMapElem.appendChild( extentElem );
//layer set
More information about the QGIS-commit
mailing list