comparison src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java @ 166:51c99594346e

Fixed UniqueValueRendererReader to read all symbols correctly.
author vc11884admin@VC11884.win.bsh.de
date Mon, 04 Jul 2011 12:12:17 +0200
parents 1623c8c99135
children 0bde090506f9
comparison
equal deleted inserted replaced
165:87afe66f7d88 166:51c99594346e
70 public Element read() { 70 public Element read() {
71 logger.debug("read()"); 71 logger.debug("read()");
72 int count = 0; 72 int count = 0;
73 try { 73 try {
74 count = renderer.getClassCount(); 74 count = renderer.getClassCount();
75 if(renderer.isUseDefaultSymbol()) {
76 count--;
77 }
75 } 78 }
76 catch(IOException ioe) { 79 catch(IOException ioe) {
77 logger.error( 80 logger.error(
78 "Could not read class count."+ 81 "Could not read class count."+
79 " Stopped reading renderer."); 82 " Stopped reading renderer.");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)