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
jef committed Feb 3, 2009
1 parent 689b2ec commit 30de77f64bfa8fe06c876cc779d873b742debf37
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsvectorfilewriter.cpp
@@ -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.
You can’t perform that action at this time.