[QGIS Commit] r10099 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Feb 3 10:10:12 EST 2009


Author: jef
Date: 2009-02-03 10:10:11 -0500 (Tue, 03 Feb 2009)
New Revision: 10099

Modified:
   trunk/qgis/src/core/qgsvectorfilewriter.cpp
Log:
implement #1526

Modified: trunk/qgis/src/core/qgsvectorfilewriter.cpp
===================================================================
--- trunk/qgis/src/core/qgsvectorfilewriter.cpp	2009-02-03 03:37:06 UTC (rev 10098)
+++ trunk/qgis/src/core/qgsvectorfilewriter.cpp	2009-02-03 15:10:11 UTC (rev 10099)
@@ -117,9 +117,15 @@
     int ogrPrecision = -1;
     switch ( attrField.type() )
     {
+      case QVariant::LongLong:
+        ogrType = OFTString;
+        ogrWidth = 21;
+        break;
+
       case QVariant::String:
         ogrType = OFTString;
         break;
+
       case QVariant::Int:
         ogrType = OFTInteger;
         ogrWidth = 10;



More information about the QGIS-commit mailing list