Skip to content

Commit

Permalink
layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 15, 2021
1 parent 41da71e commit 2afd6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -1774,7 +1774,7 @@ static QVariant fcnRepresentAttributes( const QVariantList &values, const QgsExp
for ( int fieldIndex = 0; fieldIndex < fields.count(); ++fieldIndex )
{
const QString fieldName { fields.at( fieldIndex ).name() };
QVariant attributeVal { feature.attribute( fieldIndex ) };
const QVariant attributeVal = feature.attribute( fieldIndex );
const QString cacheValueKey = QStringLiteral( "repvalfcnval:%1:%2:%3" ).arg( layer->id(), fieldName, attributeVal.toString() );
if ( context && context->hasCachedValue( cacheValueKey ) )
{
Expand Down

0 comments on commit 2afd6e0

Please sign in to comment.