summaryrefslogtreecommitdiff
path: root/sw/source/core/text/frmform.cxx
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2001-05-15 06:29:19 +0000
committerAndreas Martens <ama@openoffice.org>2001-05-15 06:29:19 +0000
commit992f5e411d6c97275891e1007d54230c7c33a78e (patch)
treebc0c9cce12a26f7bf4fc874695a7e9b25120caf5 /sw/source/core/text/frmform.cxx
parent874f1ecd18d7c6eb1df658a844df1f38b3551620 (diff)
Fix #86447#: Grow, text frame, grow
Diffstat (limited to 'sw/source/core/text/frmform.cxx')
-rw-r--r--sw/source/core/text/frmform.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index 84e46b69b1cc..bfaed2986de9 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: frmform.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: ama $ $Date: 2001-05-09 09:33:41 $
+ * last change: $Author: ama $ $Date: 2001-05-15 07:29:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -519,7 +519,7 @@ void SwTxtFrm::AdjustFrm( const SwTwips nChgHght, sal_Bool bHasToFit )
{
//Kann sein, dass ich die richtige Grosse habe, der Upper aber zu
//klein ist und der Upper noch Platz schaffen kann.
- if( ( nRstHeight > 0 || ( IsInFtn() && IsInSct() ) ) && !bHasToFit )
+ if( ( nRstHeight >= 0 || ( IsInFtn() && IsInSct() ) ) && !bHasToFit )
nRstHeight += GetUpper()->Grow( Frm().Height()-nRstHeight, pHeight );
// In spaltigen Bereichen wollen wir moeglichst nicht zu gross werden, damit
// nicht ueber GetNextSctLeaf weitere Bereiche angelegt werden. Stattdessen