diff options
Diffstat (limited to 'src/org/apache/fop')
-rw-r--r-- | src/org/apache/fop/pdf/PDFDocument.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/pdf/PDFDocument.java b/src/org/apache/fop/pdf/PDFDocument.java index bf577d966..44091602c 100644 --- a/src/org/apache/fop/pdf/PDFDocument.java +++ b/src/org/apache/fop/pdf/PDFDocument.java @@ -638,7 +638,7 @@ public class PDFDocument { Vector theFunctions = new Vector(); int currentPosition; - int lastPosition = theColors.size()-2; + int lastPosition = theColors.size()-1; //if 5 elements, the penultimate element is 3. @@ -982,4 +982,4 @@ public class PDFDocument { public void setIDReferences(IDReferences idReferences){ this.idReferences= idReferences; } -}
\ No newline at end of file +} |