diff options
author | Dirk Grobler <dg@openoffice.org> | 2000-10-27 09:40:22 +0000 |
---|---|---|
committer | Dirk Grobler <dg@openoffice.org> | 2000-10-27 09:40:22 +0000 |
commit | b0c300ce40fec674d230d289fdfcbc46236837e2 (patch) | |
tree | 8aa3943c9f87d590aed042d4390d17cbbd9934f0 /officecfg | |
parent | 255614447e3b1b0d08c4cf948631e14176e561e1 (diff) |
enhancement for formatting xml
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/org/openoffice/helper/PrettyPrinter.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/officecfg/org/openoffice/helper/PrettyPrinter.java b/officecfg/org/openoffice/helper/PrettyPrinter.java index 474ad7e0d3cb..f723e8e5b9a6 100644 --- a/officecfg/org/openoffice/helper/PrettyPrinter.java +++ b/officecfg/org/openoffice/helper/PrettyPrinter.java @@ -141,9 +141,10 @@ public class PrettyPrinter extends HandlerBase emit ("/>"); else { - // treet the value special - if (name != "value" && name != "defaultvalue") - nl(); + // treat the value special + if (nStatus != CONTENT) +// if (name != "value" && name != "defaultvalue") + nl(); emit ("</"+name+">"); } nStatus = END_ELEMENT; |