diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-14 14:39:47 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-14 14:39:47 +0000 |
commit | aa880a2ae7b078bc776a3f04f47eda2782f80787 (patch) | |
tree | 8174d86bd58837f089d91d1b91fb398619c92d69 /src/main/java/at/knowcenter | |
parent | 036a581e919c8c9ee36435a86a5a414dd2599115 (diff) | |
download | pdf-as-3-aa880a2ae7b078bc776a3f04f47eda2782f80787.tar.gz pdf-as-3-aa880a2ae7b078bc776a3f04f47eda2782f80787.tar.bz2 pdf-as-3-aa880a2ae7b078bc776a3f04f47eda2782f80787.zip |
fixing ognl + linebreak
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@550 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/pdf/SplitStrings.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/SplitStrings.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/SplitStrings.java index b407b61..fdb37a9 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/SplitStrings.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/SplitStrings.java @@ -120,7 +120,8 @@ public class SplitStrings System.arraycopy(data, 0, this.pdf, this.strings[this.cur_string].string_start + this.cur_pos, data.length);
this.cur_pos += data.length;
- if (data[data.length-1] == '\n') {
+ if (data[data.length-1] == '\n') {
+ this.cur_pos -= 1; // remove \n from output
newline();
}
}
|