diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-07-18 13:48:07 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-07-18 13:48:07 +0000 |
commit | dc62d1034852b4e9102d4a9a200e85717323e5f4 (patch) | |
tree | 82441916bf1a7105dc099cfa473c1f111bfc5bb1 /src/java/org/apache/fop/pdf | |
parent | 0a7069adaeb48754ad2ff8ec22d3ec45e57b614a (diff) | |
download | xmlgraphics-fop-dc62d1034852b4e9102d4a9a200e85717323e5f4.tar.gz xmlgraphics-fop-dc62d1034852b4e9102d4a9a200e85717323e5f4.zip |
For a Shading object, domain is optional and its default value is what we need
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1611651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFShading.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFShading.java b/src/java/org/apache/fop/pdf/PDFShading.java index fa12771b9..db9e57c30 100644 --- a/src/java/org/apache/fop/pdf/PDFShading.java +++ b/src/java/org/apache/fop/pdf/PDFShading.java @@ -165,13 +165,6 @@ public class PDFShading extends PDFObject { } else if (other.getBBox() != null) { return false; } - if (shading.getDomain() != null) { - if (!shading.getDomain().equals(other.getDomain())) { - return false; - } - } else if (other.getDomain() != null) { - return false; - } if (shading.getMatrix() != null) { if (!shading.getMatrix().equals(other.getMatrix())) { return false; |