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@13866 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 1, 2010
1 parent b56c729 commit f4ff854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/ogr_converter/translator.cpp
Original file line number Diff line number Diff line change
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 f4ff854

Please sign in to comment.