File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2815,13 +2815,13 @@ QList< QgsVectorFileWriter::FilterFormatDetails > QgsVectorFileWriter::supported
2815
2815
2816
2816
#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(2,3,0)
2817
2817
GDALDriverH gdalDriver = GDALGetDriverByName ( drvName.toLocal8Bit ().constData () );
2818
- char **driverMetadata = nullptr ;
2818
+ char **metadata = nullptr ;
2819
2819
if ( gdalDriver )
2820
2820
{
2821
- driverMetadata = GDALGetMetadata ( gdalDriver, nullptr );
2821
+ metadata = GDALGetMetadata ( gdalDriver, nullptr );
2822
2822
}
2823
2823
2824
- bool nonSpatialFormat = CSLFetchBoolean ( driverMetadata , GDAL_DCAP_NONSPATIAL, false );
2824
+ bool nonSpatialFormat = CSLFetchBoolean ( metadata , GDAL_DCAP_NONSPATIAL, false );
2825
2825
#else
2826
2826
bool nonSpatialFormat = ( drvName == QLatin1String ( " ODS" ) || drvName == QLatin1String ( " XLSX" ) || drvName == QLatin1String ( " XLS" ) );
2827
2827
#endif
You can’t perform that action at this time.
0 commit comments