Skip to content

Commit 689b2ec

Browse files
author
jef
committed
implement #1526
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10099 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cdd8a34 commit 689b2ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/core/qgsvectorfilewriter.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,15 @@ QgsVectorFileWriter::QgsVectorFileWriter( const QString& shapefileName,
117117
int ogrPrecision = -1;
118118
switch ( attrField.type() )
119119
{
120+
case QVariant::LongLong:
121+
ogrType = OFTString;
122+
ogrWidth = 21;
123+
break;
124+
120125
case QVariant::String:
121126
ogrType = OFTString;
122127
break;
128+
123129
case QVariant::Int:
124130
ogrType = OFTInteger;
125131
ogrWidth = 10;

0 commit comments

Comments
 (0)