File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2703,7 +2703,7 @@ QList< QgsVectorFileWriter::FilterFormatDetails > QgsVectorFileWriter::supported
2703
2703
{
2704
2704
// skip non-spatial formats
2705
2705
// TODO - use GDAL metadata to determine this, when support exists in GDAL
2706
- if ( drvName == QStringLiteral ( " ODS" ) || drvName == QStringLiteral ( " XLSX" ) || drvName == QStringLiteral ( " XLS" ) )
2706
+ if ( drvName == QLatin1String ( " ODS" ) || drvName == QLatin1String ( " XLSX" ) || drvName == QLatin1String ( " XLS" ) )
2707
2707
continue ;
2708
2708
}
2709
2709
@@ -2717,12 +2717,12 @@ QList< QgsVectorFileWriter::FilterFormatDetails > QgsVectorFileWriter::supported
2717
2717
2718
2718
if ( options & SortRecommended )
2719
2719
{
2720
- if ( drvName == QStringLiteral ( " ESRI Shapefile" ) )
2720
+ if ( drvName == QLatin1String ( " ESRI Shapefile" ) )
2721
2721
{
2722
2722
shapeFormat = details;
2723
2723
continue ;
2724
2724
}
2725
- else if ( drvName == QStringLiteral ( " GPKG" ) )
2725
+ else if ( drvName == QLatin1String ( " GPKG" ) )
2726
2726
{
2727
2727
gpkgFormat = details;
2728
2728
continue ;
@@ -2793,7 +2793,7 @@ QList< QgsVectorFileWriter::DriverDetails > QgsVectorFileWriter::ogrDriverList(
2793
2793
{
2794
2794
// skip non-spatial formats
2795
2795
// TODO - use GDAL metadata to determine this, when support exists in GDAL
2796
- if ( drvName == QStringLiteral ( " ODS" ) || drvName == QStringLiteral ( " XLSX" ) || drvName == QStringLiteral ( " XLS" ) )
2796
+ if ( drvName == QLatin1String ( " ODS" ) || drvName == QLatin1String ( " XLSX" ) || drvName == QLatin1String ( " XLS" ) )
2797
2797
continue ;
2798
2798
}
2799
2799
You can’t perform that action at this time.
0 commit comments