From 356fd9f3cd7202955947e513e154ef915ac99725 Mon Sep 17 00:00:00 2001 From: Karen Lease Date: Fri, 20 Apr 2001 21:01:31 +0000 Subject: [PATCH] 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 --- src/org/apache/fop/fo/flow/TableRow.java | 4 ++-- 1 file 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; -- 2.39.5