From: Vincent Hennebert Date: Fri, 17 Oct 2008 09:36:40 +0000 (+0000) Subject: Removed superfluous brackets X-Git-Tag: fop-1_0~404 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d99dc61714ce6fa3f91342deacc0ddfdcdc4beef;p=xmlgraphics-fop.git Removed superfluous brackets git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@705529 13f79535-47bb-0310-9956-ffa450edef68 --- 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,