]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed a compilation problem.
authorJeremias Maerki <jeremias@apache.org>
Sat, 7 Oct 2006 13:17:57 +0000 (13:17 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sat, 7 Oct 2006 13:17:57 +0000 (13:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453899 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

index f1dba6d938adbb0b329012696a895636aa9516e1..b3e1e33ba83723951dfa7c02b2b6c3b2e619e44f 100644 (file)
@@ -348,7 +348,10 @@ public class LineLayoutManager extends InlineStackingLayoutManager
 
         public void updateData1(int lineCount, double demerits) {
             lineLayouts.addPossibility(lineCount, demerits);
-            log.trace("Layout possibility in " + lineCount + " lines; break at position:");
+            if (super.log.isTraceEnabled()) {
+                super.log.trace(
+                        "Layout possibility in " + lineCount + " lines; break at position:");
+            }
         }
 
         public void updateData2(KnuthNode bestActiveNode,
@@ -381,8 +384,8 @@ public class LineLayoutManager extends InlineStackingLayoutManager
             }
 
             if (difference + bestActiveNode.availableShrink < 0) {
-                if (log.isWarnEnabled()) {
-                    log.warn(FONode.decorateWithContextInfo(
+                if (super.log.isWarnEnabled()) {
+                    super.log.warn(FONode.decorateWithContextInfo(
                             "Line " + (addedPositions + 1) 
                             + " of a paragraph overflows the available area.", getFObj()));
                 }