aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/TableRow.java
diff options
context:
space:
mode:
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;