aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
authorKaren Lease <klease@apache.org>2001-04-20 21:01:31 +0000
committerKaren Lease <klease@apache.org>2001-04-20 21:01:31 +0000
commit356fd9f3cd7202955947e513e154ef915ac99725 (patch)
treed7a7a69434729aea208ace2d93e39de0521ecc4f /src/org/apache/fop/fo/flow/TableRow.java
parentaae6e22943d7745a6e82f7c6b9f6a23e9de5ff6c (diff)
downloadxmlgraphics-fop-356fd9f3cd7202955947e513e154ef915ac99725.tar.gz
xmlgraphics-fop-356fd9f3cd7202955947e513e154ef915ac99725.zip
Submitted by: Keiron Liddle
Use Constants values. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194220 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/TableRow.java')
-rw-r--r--src/org/apache/fop/fo/flow/TableRow.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index 3f7d7b25f..55b9bf4ea 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -265,10 +265,10 @@ public class TableRow extends FObj {
if (n != null)
return new KeepValue(KeepValue.KEEP_WITH_VALUE, n.intValue());
switch(p.getEnum()) {
- case 2:
+ case Constants.ALWAYS:
return new KeepValue(KeepValue.KEEP_WITH_ALWAYS, 0);
//break;
- case 1:
+ case Constants.AUTO:
default:
return new KeepValue(KeepValue.KEEP_WITH_AUTO, 0);
//break;