From d99dc61714ce6fa3f91342deacc0ddfdcdc4beef Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Fri, 17 Oct 2008 09:36:40 +0000 Subject: [PATCH] Removed superfluous brackets git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@705529 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/TraitSetter.java | 4 ++-- 1 file 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, -- 2.39.5