Skip to content
Permalink
Browse files

skip-keyword-check

(cherry picked from commit 07f2429)
  • Loading branch information
elpaso authored and nyalldawson committed Feb 19, 2021
1 parent 1f8298f commit 2bf54c15df87c7607fe888b645460d904dfdb51a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsogrutils.cpp
@@ -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;

0 comments on commit 2bf54c1

Please sign in to comment.