diff options
author | Oliver-Rainer Wittmann <od@openoffice.org> | 2010-07-07 13:05:22 +0200 |
---|---|---|
committer | Oliver-Rainer Wittmann <od@openoffice.org> | 2010-07-07 13:05:22 +0200 |
commit | 4283794ec5f1738f714defcec5e47c6ee1bdde22 (patch) | |
tree | f9611299a6b4634f770980d6495bbf0afab23352 /sw | |
parent | 5c62576e5d8af7379a57b45392d3c51c0bcd0fcc (diff) |
sw33bf07: #i112181# method <SwTxtFormatter::InsertPortion(..)> - assure that internal flag indicating existence of non-footnote-anchor portion is updated in all cases.
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/itrform2.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx index c7527b372554..0ae80fb5306f 100644 --- a/sw/source/core/text/itrform2.cxx +++ b/sw/source/core/text/itrform2.cxx @@ -335,8 +335,14 @@ void SwTxtFormatter::InsertPortion( SwTxtFormatInfo &rInf, // bei dem LineLayout ist allerdings alles anders... if( pPor == pCurr ) { - if( pCurr->GetPortion() ) + if ( pCurr->GetPortion() ) + { pPor = pCurr->GetPortion(); + } + + // --> OD 2010-07-07 #i112181# + rInf.SetOtherThanFtnInside( rInf.IsOtherThanFtnInside() || !pPor->IsFtnPortion() ); + // <-- } else { |