Skip to content

Commit

Permalink
Fix possibility of returning void in symbolForFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed May 10, 2011
1 parent eb899f7 commit 158834b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/symbology-ng/qgsrulebasedrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ QgsSymbolV2* QgsRuleBasedRendererV2::symbolForFeature( QgsFeature& feature )
return rule->symbol(); //works with levels but takes only first rule
}
}
return mCurrentSymbol;
}

void QgsRuleBasedRendererV2::renderFeature( QgsFeature& feature,
Expand Down

0 comments on commit 158834b

Please sign in to comment.