diff --git a/plugins/spit/qgsshapefile.cpp b/plugins/spit/qgsshapefile.cpp index 96a6f187920..915386a1451 100644 --- a/plugins/spit/qgsshapefile.cpp +++ b/plugins/spit/qgsshapefile.cpp @@ -110,7 +110,7 @@ QString QgsShapeFile::getFeatureClass(){ }else valid = false; ogrLayer->ResetReading(); - return valid?geom_type:NULL; + return valid?geom_type:QString::null; } bool QgsShapeFile::is_valid(){