Skip to content

Commit

Permalink
skip-keyword-check
Browse files Browse the repository at this point in the history
(cherry picked from commit 07f2429)
  • Loading branch information
elpaso authored and nyalldawson committed Feb 19, 2021
1 parent 1f8298f commit 2bf54c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsogrutils.cpp
Expand Up @@ -230,7 +230,7 @@ QVariant QgsOgrUtils::getOgrFeatureAttribute( OGRFeatureH ogrFet, const QgsField
// Fixes GH #41076 (empty strings shown as NULL), because we have checked before that it was NOT NULL
// Note: QVariant( QString( ) ).isNull( ) is still true on windows so we really need string literal :(
if ( value.isNull() )
value = QVariant( QStringLiteral( "" ) );
value = QVariant( QStringLiteral( "" ) ); // skip-keyword-check
#endif

break;
Expand Down

0 comments on commit 2bf54c1

Please sign in to comment.