Skip to content
Permalink
Browse files

vector file writer: adapt to 2fcbc8b (fixes #12985)

  • Loading branch information
jef-n committed Jun 19, 2015
1 parent 6cbe0ee commit 513cfad235cf587c48475d3d70b9fdd10a68dd06
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsvectorfilewriter.cpp
@@ -345,6 +345,9 @@ QgsVectorFileWriter::QgsVectorFileWriter(
OGRFieldType ogrType = OFTString; //default to string
int ogrWidth = attrField.length();
int ogrPrecision = attrField.precision();
if ( ogrPrecision > 0 )
++ogrWidth;

switch ( attrField.type() )
{
case QVariant::LongLong:

0 comments on commit 513cfad

Please sign in to comment.
You can’t perform that action at this time.