mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Merge pull request #1460 from rouault/fix_crash_in_QgsVectorFileWriter_addFeature
Fix crash in QgsVectorFileWriter::addFeature()
This commit is contained in:
commit
60a1989261
@ -1548,6 +1548,8 @@ bool QgsVectorFileWriter::addFeature( QgsFeature& feature, QgsFeatureRendererV2*
|
||||
{
|
||||
// create the feature
|
||||
OGRFeatureH poFeature = createFeature( feature );
|
||||
if( !poFeature )
|
||||
return false;
|
||||
|
||||
//add OGR feature style type
|
||||
if ( mSymbologyExport != NoSymbology && renderer )
|
||||
|
Loading…
x
Reference in New Issue
Block a user