diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-08-30 11:42:09 +0200 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-08-30 11:42:09 +0200 |
commit | fdfa64415dec1a11e4aa3cfdb4e1339853f3043a (patch) | |
tree | 8f9e884fcc68385c2fd026192cab0b2101714400 /sw/source/ui/utlui/glbltree.cxx | |
parent | dc3e4032cdb647f68e1490239fa0a8341f946369 (diff) | |
parent | 3d341c8efb7aa4784b3341ef752c16e07df5d951 (diff) |
rebase to DEV300_m87
Diffstat (limited to 'sw/source/ui/utlui/glbltree.cxx')
-rw-r--r-- | sw/source/ui/utlui/glbltree.cxx | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx index e9b8fdf6feef..e221cf01376e 100644 --- a/sw/source/ui/utlui/glbltree.cxx +++ b/sw/source/ui/utlui/glbltree.cxx @@ -1241,11 +1241,20 @@ BOOL SwGlobalTree::Update(BOOL bHard) GlobalDocContentType eType = pLeft->GetType(); SvLBoxEntry* pEntry = GetEntry(i); String sTemp = GetEntryText(pEntry); - if(eType != pRight->GetType() || - eType == GLBLDOC_SECTION && - (pLeft->GetSection()->GetSectionName() != sTemp) || - eType == GLBLDOC_TOXBASE && pLeft->GetTOX()->GetTitle() != sTemp) - bCopy = bRet = TRUE; + if ( + eType != pRight->GetType() || + ( + eType == GLBLDOC_SECTION && + pLeft->GetSection()->GetSectionName() != sTemp + ) || + ( + eType == GLBLDOC_TOXBASE && + pLeft->GetTOX()->GetTitle() != sTemp + ) + ) + { + bCopy = bRet = TRUE; + } } } if(bCopy || bHard) |