diff flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java @ 4649:64664e8244ff

Merged
author Christian Lins <christian.lins@intevation.de>
date Wed, 05 Dec 2012 23:58:26 +0100
parents d70284c92728
children 85876e3a5346
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java	Wed Dec 05 23:54:09 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java	Wed Dec 05 23:58:26 2012 +0100
@@ -87,7 +87,7 @@
                 ThemeUtil.getBackgroundColorString(theme));
 
         int transparency = ThemeUtil.parseTransparency(theme);
-        if (transparency > 0) {
+        if (transparency > 0 && paint != null) {
             paint = new Color(
                         paint.getRed(),
                         paint.getGreen(),

http://dive4elements.wald.intevation.org