diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-10-17 09:36:40 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-10-17 09:36:40 +0000 |
commit | d99dc61714ce6fa3f91342deacc0ddfdcdc4beef (patch) | |
tree | 9b04e2a67f9f91a5dffa4f827ae11a4a4395d5af /src | |
parent | 711523bb9458cd33e16592d47049d997c7b1c672 (diff) | |
download | xmlgraphics-fop-d99dc61714ce6fa3f91342deacc0ddfdcdc4beef.tar.gz xmlgraphics-fop-d99dc61714ce6fa3f91342deacc0ddfdcdc4beef.zip |
Removed superfluous brackets
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@705529 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/TraitSetter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/TraitSetter.java b/src/java/org/apache/fop/layoutmgr/TraitSetter.java index f34c68a6c..154d32e96 100644 --- a/src/java/org/apache/fop/layoutmgr/TraitSetter.java +++ b/src/java/org/apache/fop/layoutmgr/TraitSetter.java @@ -394,7 +394,7 @@ public class TraitSetter { width += backProps.getPaddingStart(false, context); width += backProps.getPaddingEnd(false, context); int imageWidthMpt = back.getImageInfo().getSize().getWidthMpt(); - int lengthBaseValue = (width - imageWidthMpt); + int lengthBaseValue = width - imageWidthMpt; SimplePercentBaseContext simplePercentBaseContext = new SimplePercentBaseContext(context, LengthBase.IMAGE_BACKGROUND_POSITION_HORIZONTAL, @@ -418,7 +418,7 @@ public class TraitSetter { height += backProps.getPaddingBefore(false, context); height += backProps.getPaddingAfter(false, context); int imageHeightMpt = back.getImageInfo().getSize().getHeightMpt(); - int lengthBaseValue = (height - imageHeightMpt); + int lengthBaseValue = height - imageHeightMpt; SimplePercentBaseContext simplePercentBaseContext = new SimplePercentBaseContext(context, LengthBase.IMAGE_BACKGROUND_POSITION_VERTICAL, |