aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/Region.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-09-16 08:42:56 +0000
committerJeremias Maerki <jeremias@apache.org>2005-09-16 08:42:56 +0000
commit2fb4799fb303c4d6aeeb413cdccfd08341fb3cae (patch)
treed2efee17965c91149e7c1796b916f87f37ce34fb /src/java/org/apache/fop/fo/pagination/Region.java
parent461b36809cbfc355916e050d3b24cc213f3d3fe0 (diff)
downloadxmlgraphics-fop-2fb4799fb303c4d6aeeb413cdccfd08341fb3cae.tar.gz
xmlgraphics-fop-2fb4799fb303c4d6aeeb413cdccfd08341fb3cae.zip
Style touch-up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289433 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Region.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/Region.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Region.java b/src/java/org/apache/fop/fo/pagination/Region.java
index e0054285a..281dc297d 100644
--- a/src/java/org/apache/fop/fo/pagination/Region.java
+++ b/src/java/org/apache/fop/fo/pagination/Region.java
@@ -81,10 +81,11 @@ public abstract class Region extends FObj {
}
}
- if (getCommonBorderPaddingBackground().getBPPaddingAndBorder(false, null) != 0 //TODO do we need context here?
- || getCommonBorderPaddingBackground().getIPPaddingAndBorder(false, null) != 0) { //TODO do we need context here?
+ //TODO do we need context for getBPPaddingAndBorder() and getIPPaddingAndBorder()?
+ if (getCommonBorderPaddingBackground().getBPPaddingAndBorder(false, null) != 0
+ || getCommonBorderPaddingBackground().getIPPaddingAndBorder(false, null) != 0) {
throw new PropertyException("Border and padding for region \""
- +regionName+ "\" must be '0' (See 6.4.13 in XSL 1.0).");
+ + regionName + "\" must be '0' (See 6.4.13 in XSL 1.0).");
}
}