Skip to content

Commit

Permalink
Fix Bugzilla � Bug 289171 [Regression] The sample report can not be p…
Browse files Browse the repository at this point in the history
…reviewed as pdf on linux
  • Loading branch information
Gang Liu committed Sep 22, 2009
1 parent de7b460 commit 0a53c10
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -430,6 +430,7 @@ else if ( splitResult.status == SplitResult.SPLIT_SUCCEED_WITH_NULL )
}
}
}
//split height is larger than content height.(cell)
if ( result.size( ) == children.size( ) )
{
status = SplitResult.SPLIT_SUCCEED_WITH_PART;
Expand Down Expand Up @@ -504,7 +505,7 @@ else if ( splitResult.status == SplitResult.SPLIT_SUCCEED_WITH_NULL )

if ( status == SplitResult.SPLIT_SUCCEED_WITH_PART )
{
if ( isValidResult( result ) )
if ( isValidResult( result ) || force )
{
newContainer = getSplitArea( result, contentHeight );
}
Expand Down

0 comments on commit 0a53c10

Please sign in to comment.