diff options
Diffstat (limited to 'sd/source/ui/view/outlnvsh.cxx')
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 8781d602d5f0..f7425f7a06c5 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -886,7 +886,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet ) if( nDepth != nTmpDepth || bPage != pOutl->HasParaFlag( pPara, PARAFLAG_ISPAGE )) bUnique = sal_False; - if (pOutl->HasChilds(pPara)) + if (pOutl->HasChildren(pPara)) { if (!pOutl->IsExpanded(pPara)) bDisableExpand = sal_False; @@ -934,10 +934,10 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet ) Paragraph* pPara = pOutl->GetParagraph( nParaPos ); while (pPara && (bDisableCollapseAll || bDisableExpandAll)) { - if (!pOutl->IsExpanded(pPara) && pOutl->HasChilds(pPara)) + if (!pOutl->IsExpanded(pPara) && pOutl->HasChildren(pPara)) bDisableExpandAll = sal_False; - if (pOutl->IsExpanded(pPara) && pOutl->HasChilds(pPara)) + if (pOutl->IsExpanded(pPara) && pOutl->HasChildren(pPara)) bDisableCollapseAll = sal_False; pPara = pOutl->GetParagraph( ++nParaPos ); |