Skip to content
Permalink
Browse files
fix #1526
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10101 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 3, 2009
1 parent 689b2ec commit 30de77f
Showing 1 changed file with 1 addition and 0 deletions.
@@ -217,6 +217,7 @@ bool QgsVectorFileWriter::addFeature( QgsFeature& feature )
case QVariant::Double:
OGR_F_SetFieldDouble( poFeature, ogrField, attrValue.toDouble() );
break;
case QVariant::LongLong:
case QVariant::String:
OGR_F_SetFieldString( poFeature, ogrField, mCodec->fromUnicode( attrValue.toString() ).data() );
break;

0 comments on commit 30de77f

Please sign in to comment.