Skip to content

Commit

Permalink
fix layer creation in ogr converter plugin
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13866 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 1, 2010
1 parent 554f675 commit 41a1d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/ogr_converter/translator.cpp
Expand Up @@ -207,7 +207,7 @@ bool Translator::translateLayer( OGRDataSourceH srcDs, OGRLayerH srcLayer, OGRDa
Q_ASSERT( 0 != dstLayer );

// Transfer attributes schema
if ( !copyFields( dstLayer, srcLayerDefn ) )
if ( !copyFields( srcLayerDefn, dstLayer ) )
{
QgsDebugMsg( "Faild to copy fields from layer " + mSrcLayer );
return false;
Expand Down

0 comments on commit 41a1d5b

Please sign in to comment.