@@ -135,7 +135,6 @@ public static void CreateLineBoxes(RGraphics g, CssBox blockBox)
135135 //Reminds the maximum bottom reached
136136 double maxRight = startx ;
137137 double maxBottom = starty ;
138- double offset = 0 ;
139138
140139 //First line box
141140 CssLineBox line = new CssLineBox ( blockBox ) ;
@@ -154,7 +153,7 @@ public static void CreateLineBoxes(RGraphics g, CssBox blockBox)
154153 {
155154 ApplyHorizontalAlignment ( g , linebox ) ;
156155 ApplyRightToLeft ( blockBox , linebox ) ;
157- BubbleRectangles ( blockBox , linebox , ref offset ) ;
156+ BubbleRectangles ( blockBox , linebox ) ;
158157 ApplyVerticalAlignment ( g , linebox ) ;
159158 linebox . AssignRectanglesToBoxes ( ) ;
160159 }
@@ -388,7 +387,7 @@ private static void AdjustAbsolutePosition(CssBox box, double left, double top)
388387 /// Recursively creates the rectangles of the blockBox, by bubbling from deep to outside of the boxes
389388 /// in the rectangle structure
390389 /// </summary>
391- private static void BubbleRectangles ( CssBox box , CssLineBox line , ref double offset )
390+ private static void BubbleRectangles ( CssBox box , CssLineBox line )
392391 {
393392 if ( box . Words . Count > 0 )
394393 {
@@ -418,7 +417,7 @@ private static void BubbleRectangles(CssBox box, CssLineBox line, ref double off
418417 {
419418 foreach ( CssBox b in box . Boxes )
420419 {
421- BubbleRectangles ( b , line , ref offset ) ;
420+ BubbleRectangles ( b , line ) ;
422421 }
423422 }
424423 }
0 commit comments