[QGIS Commit] r11924 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Nov 6 03:54:03 EST 2009
Author: timlinux
Date: 2009-11-06 03:54:03 -0500 (Fri, 06 Nov 2009)
New Revision: 11924
Modified:
trunk/qgis/src/core/qgsvectorlayer.cpp
Log:
Code style cleanup only
Modified: trunk/qgis/src/core/qgsvectorlayer.cpp
===================================================================
--- trunk/qgis/src/core/qgsvectorlayer.cpp 2009-11-06 08:52:05 UTC (rev 11923)
+++ trunk/qgis/src/core/qgsvectorlayer.cpp 2009-11-06 08:54:03 UTC (rev 11924)
@@ -2894,9 +2894,12 @@
QgsAttributeMap dst;
for ( QgsAttributeMap::const_iterator it = src.begin(); it != src.end(); it++ )
+ {
if ( remap.contains( it.key() ) )
+ {
dst[ remap[it.key()] ] = it.value();
-
+ }
+ }
src = dst;
}
@@ -3031,6 +3034,7 @@
emit editingStopped();
}
+
mDataProvider->updateExtents();
mDataProvider->updateFeatureCount();
More information about the QGIS-commit
mailing list