Code style cleanup only

git-svn-id: http://svn.osgeo.org/qgis/trunk@11924 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2009-11-06 08:54:03 +00:00
parent ca87ba06e4
commit ae172a0f2d

View File

@ -2894,9 +2894,12 @@ bool QgsVectorLayer::commitChanges()
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 @@ bool QgsVectorLayer::commitChanges()
emit editingStopped();
}
mDataProvider->updateExtents();
mDataProvider->updateFeatureCount();