Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java	(revision 7395)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java	(revision 7397)
@@ -38,10 +38,6 @@
             if (val instanceof LiteralExpression) {
                 Object litValue = ((LiteralExpression) val).evaluate(null);
-                if (litValue instanceof Keyword) {
-                    if ("none".equals(((Keyword) litValue).val)) {
-                        this.val = null;
-                    } else {
-                        this.val = val;
-                    }
+                if (litValue instanceof Keyword && "none".equals(((Keyword) litValue).val)) {
+                    this.val = null;
                 } else if (key.equals(TEXT)) {
                     /* Special case for declaration 'text: ...'
