diff 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
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java	Thu Jun 30 14:59:44 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/UniqueValueRendererReader.java	Mon Jul 04 12:12:17 2011 +0200
@@ -72,6 +72,9 @@
         int count = 0;
         try {
             count = renderer.getClassCount();
+            if(renderer.isUseDefaultSymbol()) {
+                count--;
+            }
         }
         catch(IOException ioe) {
             logger.error(
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)