Skip to content
Permalink
Browse files

Code style cleanup only

git-svn-id: http://svn.osgeo.org/qgis/trunk@11924 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 6, 2009
1 parent ca87ba0 commit ae172a0f2d44145a91426d9b99888a56665b641e
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/qgsvectorlayer.cpp
@@ -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();

0 comments on commit ae172a0

Please sign in to comment.
You can’t perform that action at this time.