[QGIS Commit] r13866 - trunk/qgis/src/plugins/ogr_converter
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Jul 1 17:17:04 EDT 2010
Author: jef
Date: 2010-07-01 21:17:04 +0000 (Thu, 01 Jul 2010)
New Revision: 13866
Modified:
trunk/qgis/src/plugins/ogr_converter/translator.cpp
Log:
fix layer creation in ogr converter plugin
Modified: trunk/qgis/src/plugins/ogr_converter/translator.cpp
===================================================================
--- trunk/qgis/src/plugins/ogr_converter/translator.cpp 2010-07-01 09:45:17 UTC (rev 13865)
+++ trunk/qgis/src/plugins/ogr_converter/translator.cpp 2010-07-01 21:17:04 UTC (rev 13866)
@@ -207,7 +207,7 @@
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;
More information about the QGIS-commit
mailing list