Skip to content
Permalink
Browse files
no midRef :/
  • Loading branch information
elpaso authored and nyalldawson committed Nov 5, 2021
1 parent 9e3b3ec commit 30078df13eb11803352e025bd94ae2f24145883f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsogrproviderutils.cpp
@@ -1315,7 +1315,7 @@ OGRLayerH QgsOgrProviderUtils::setSubsetString( OGRLayerH layer, GDALDatasetH ds
{
inLiteral = !inLiteral;
}
if ( !inLiteral && line.midRef( i ).startsWith( QStringLiteral( "--" ) ) )
if ( !inLiteral && line.mid( i ).startsWith( QStringLiteral( "--" ) ) )
{
line = line.left( i );
break;

0 comments on commit 30078df

Please sign in to comment.