summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java b/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java
index 19953d781..c5fc6593b 100644
--- a/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java
@@ -108,13 +108,13 @@ public class PDFResourcesTestCase {
PDFDocument pdfDoc = new PDFDocument(null);
PDFResources res = new PDFResources(pdfDoc);
PDFDictionary shadingDict = new PDFDictionary();
- shadingDict.put("Sh1-1718006973", new PDFReference("9 0"));
+ shadingDict.put("Sh1-1718006973", new PDFReference("9 0 R"));
res.put("Shading", shadingDict);
PDFDictionary patternDict = new PDFDictionary();
- patternDict.put("Pa1-1718006973", new PDFReference("10 0"));
+ patternDict.put("Pa1-1718006973", new PDFReference("10 0 R"));
res.put("Pattern", patternDict);
PDFDictionary colorSpaceDict = new PDFDictionary();
- colorSpaceDict.put("DefaultRGB", new PDFReference("11 0"));
+ colorSpaceDict.put("DefaultRGB", new PDFReference("11 0 R"));
res.put("ColorSpace", colorSpaceDict);
PDFResources resParent = new PDFResources(pdfDoc);
res.setParentResources(resParent);