]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Submitted by: Keiron Liddle
authorKaren Lease <klease@apache.org>
Fri, 20 Apr 2001 21:01:31 +0000 (21:01 +0000)
committerKaren Lease <klease@apache.org>
Fri, 20 Apr 2001 21:01:31 +0000 (21:01 +0000)
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

index 3f7d7b25fc8158d73eb0f620a3a09d4f2b3ce836..55b9bf4ea12aabab67e588d41123feda6043c2df 100644 (file)
@@ -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;