Revision 25457 trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/styles/SimpleLabelStyle.java

View differences:

SimpleLabelStyle.java
193 193
			bgXML.putProperty("id", "LabelStyle");
194 194
			xml.addChild(bgXML);
195 195
		}
196
		xml.putProperty("sizeW",(int)sz.getWidth());
197
		xml.putProperty("sizeH",(int)sz.getHeight());
196
		if (sz!=null){
197
			xml.putProperty("sizeW",(int)sz.getWidth());
198
			xml.putProperty("sizeH",(int)sz.getHeight());
199
		}
198 200
		return xml;
199 201
	}
200 202

  

Also available in: Unified diff