diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-07-22 08:11:27 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-07-22 08:11:27 +0000 |
commit | 2fdf99e85b933bc7b85e2cd3894c9347314df570 (patch) | |
tree | 6ff5d23f7fb4ada2da7d55067270a319518b4b14 /sw/source/ui/utlui/content.cxx | |
parent | 2965e8c4d755a81c28c88490cd04df5aa242fab4 (diff) |
INTEGRATION: CWS notes30stopper (1.53.58); FILE MERGED
2008/07/14 09:00:46 mod 1.53.58.1: #i91621# #i91620#
Diffstat (limited to 'sw/source/ui/utlui/content.cxx')
-rw-r--r-- | sw/source/ui/utlui/content.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx index 1e5ca824cd4f..8446186bdaf1 100644 --- a/sw/source/ui/utlui/content.cxx +++ b/sw/source/ui/utlui/content.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: content.cxx,v $ - * $Revision: 1.54 $ + * $Revision: 1.55 $ * * This file is part of OpenOffice.org. * @@ -423,7 +423,9 @@ void SwContentType::Init(sal_Bool* pbInvalidateWindow) { for(SwPostItMgr::const_iterator i = aMgr->begin(); i != aMgr->end(); ++i) { - if ( (*i)->pFmtFld->GetTxtFld() && (*i)->pFmtFld->IsFldInDoc() ) + if ( (*i)->pFmtFld->GetTxtFld() && + (*i)->pFmtFld->IsFldInDoc() && + (*i)->mLayoutStatus!=SwPostItHelper::INVISIBLE ) { String sEntry = (*i)->pFmtFld->GetFld()->GetPar2(); RemoveNewline(sEntry); @@ -761,7 +763,9 @@ void SwContentType::FillMemberList(sal_Bool* pbLevelOrVisibiblityChanged) { for(SwPostItMgr::const_iterator i = aMgr->begin(); i != aMgr->end(); ++i) { - if ( (*i)->pFmtFld->GetTxtFld() && (*i)->pFmtFld->IsFldInDoc() ) + if ( (*i)->pFmtFld->GetTxtFld() && + (*i)->pFmtFld->IsFldInDoc() && + (*i)->mLayoutStatus!=SwPostItHelper::INVISIBLE ) { String sEntry = (*i)->pFmtFld->GetFld()->GetPar2(); RemoveNewline(sEntry); |