Skip to content

Commit 431d695

Browse files
author
timlinux
committed
Code style cleanup only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11924 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2ca5a1f commit 431d695

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/qgsvectorlayer.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -2894,9 +2894,12 @@ bool QgsVectorLayer::commitChanges()
28942894
QgsAttributeMap dst;
28952895

28962896
for ( QgsAttributeMap::const_iterator it = src.begin(); it != src.end(); it++ )
2897+
{
28972898
if ( remap.contains( it.key() ) )
2899+
{
28982900
dst[ remap[it.key()] ] = it.value();
2899-
2901+
}
2902+
}
29002903
src = dst;
29012904
}
29022905

@@ -3031,6 +3034,7 @@ bool QgsVectorLayer::commitChanges()
30313034
emit editingStopped();
30323035
}
30333036

3037+
30343038
mDataProvider->updateExtents();
30353039
mDataProvider->updateFeatureCount();
30363040

0 commit comments

Comments
 (0)