[Schmitzm-commits] r442 - branches/1.0-gt2-2.6/src/schmitzm/geotools/styling
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Oct 5 17:47:49 CEST 2009
Author: alfonx
Date: 2009-10-05 17:47:48 +0200 (Mon, 05 Oct 2009)
New Revision: 442
Modified:
branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java
Log:
* GP-Feature: Better support for "Cancel" in ManageChartsForMapDialog
* GP-Feature: offers to add a newly created Chart to all maps containing the layer
Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java 2009-10-05 14:53:54 UTC (rev 441)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/styling/StylingUtil.java 2009-10-05 15:47:48 UTC (rev 442)
@@ -1098,15 +1098,15 @@
*/
public static final void saveStyleToSLD(Style style, File exportFile,
Charset charset) throws TransformerException, IOException {
-
- if (charset != null) {
- LOGGER
- .warn("Explicitly setting the Chartset to "
- + charset
- + "! Steve thinks that this is a bad idea, because it doesn't"
- + " transform the content but just declares the header.");
- SLDTRANSFORMER.setEncoding(charset);
- }
+//
+// if (charset != null) {
+// LOGGER
+// .warn("Explicitly setting the Chartset to "
+// + charset
+// + "! Steve thinks that this is a bad idea, because it doesn't"
+// + " transform the content but just declares the header.");
+// SLDTRANSFORMER.setEncoding(charset);
+// }
SLDTRANSFORMER.setIndentation(2);
SLDTRANSFORMER.transform(style, new FileWriter(exportFile));
More information about the Schmitzm-commits
mailing list