diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 46af46f..633e144 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -1541,6 +1541,25 @@ SwTwips SwFlowFrame::CalcUpperSpace( const SwBorderAttrs *pAttrs, { nUpper += GetUpperSpaceAmountConsideredForPageGrid_( nUpper ); } + + if (pPrevFrame && pPrevFrame->IsTextFrame()) { + const SwTextFrame *pTextFrame = static_cast< const SwTextFrame * >( pPrevFrame ); + if (pTextFrame) { + if (pTextFrame->GetTextNode() && pTextFrame->GetTextNode()->HasBullet()) { + + SwTwips nPrevLowerSpace = 0; + SwTwips nPrevLineSpacing = 0; + if ( pPrevFrame ) + { + bool bDummy = false; + GetSpacingValuesOfFrame( (*pPrevFrame), nPrevLowerSpace, nPrevLineSpacing, bDummy ); + } + + nUpper += 0.20*nPrevLineSpacing; + } + } + } + return nUpper; }