acumiskey
Wed, 23 Jul 2008 02:27:04 -0700
Author: acumiskey Date: Wed Jul 23 02:26:40 2008 New Revision: 679044 URL: http://svn.apache.org/viewvc?rev=679044&view=rev Log: Minor optimization. Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java?rev=679044&r1=679043&r2=679044&view=diff ============================================================================== --- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java (original) +++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java Wed Jul 23 02:26:40 2008 @@ -196,8 +196,6 @@ return getNextKnuthElementsAbsolute(context, alignment); } - boolean switchedProgressionDirection - = (getBlockContainerFO().getReferenceOrientation() % 180 != 0); autoHeight = false; //boolean rotated = (getBlockContainerFO().getReferenceOrientation() % 180 != 0); int maxbpd = context.getStackLimitBP().opt; @@ -354,6 +352,8 @@ if (autoHeight) { //Update content BPD now that it is known int newHeight = breaker.deferredAlg.totalWidth; + boolean switchedProgressionDirection + = (getBlockContainerFO().getReferenceOrientation() % 180 != 0); if (switchedProgressionDirection) { setContentAreaIPD(newHeight); } else { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]