diff options
-rw-r--r-- | sw/source/core/objectpositioning/anchoredobjectposition.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/objectpositioning/anchoredobjectposition.cxx b/sw/source/core/objectpositioning/anchoredobjectposition.cxx index a865228d5b4f..abc898e6bf2c 100644 --- a/sw/source/core/objectpositioning/anchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/anchoredobjectposition.cxx @@ -489,7 +489,9 @@ SwTwips SwAnchoredObjectPosition::ImplAdjustVertRelPos( const SwTwips nTopOfAnch // tdf#101627 - the patch a4dee94afed9ade6ac50237c8d99a6e49d3bebc1 // for tdf#91260 causes problems if the textbox // is anchored in the footer, so exclude this case + // tdf#108932 - ensure that the adjustment will only shrink (> 0) if ( !( GetAnchorFrame().GetUpper() && GetAnchorFrame().GetUpper()->IsFooterFrame() ) + && nAdjustedRelPosY > 0 && nAdjustedRelPosY < nProposedRelPosY ) { const SwFrameFormat* pFormat = &(GetFrameFormat()); |