openlayers/openlayers — pull request #372 by bartvde (2012-03-29 20:18:41+00:00)
Title: setting graphic to false by default when reading a TextSymbolizer, just ...

...like is done on other symbolizers. Please note that this change is really only needed for the GeoServer SLD profile (since that allows to use a Graphic inside of a TextSymbolizer as a vendor extension, but it seemed kind of redundant to copy the whole reader for TextSymbolizer in the GeoServer profile to make this change, and it does not break anything in the normal SLD format so that's why I went this route.

This change will make sure that the GeoExt VectorLegend will not draw the polygon swatch for text symbolizers, since it checks for graphic === false to not draw it.