summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <od@openoffice.org>2010-07-07 13:05:22 +0200
committerOliver-Rainer Wittmann <od@openoffice.org>2010-07-07 13:05:22 +0200
commit4283794ec5f1738f714defcec5e47c6ee1bdde22 (patch)
treef9611299a6b4634f770980d6495bbf0afab23352 /sw
parent5c62576e5d8af7379a57b45392d3c51c0bcd0fcc (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.cxx8
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
{