diff options
author | Michael T. Whiteley <mike@whiteley.org> | 2011-12-07 02:33:51 -0800 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-12-08 11:32:41 +0200 |
commit | dcfd4beb213c551f6ef6ba379651bf303bd9017a (patch) | |
tree | a819f50716357c2a5561f6b9a09809cfc52d7dbf /sfx2/source/doc/docvor.cxx | |
parent | ad2eb6c4ba3ca36e2302c721a106dac80d266325 (diff) |
childs -> children
Diffstat (limited to 'sfx2/source/doc/docvor.cxx')
-rw-r--r-- | sfx2/source/doc/docvor.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx index b67d273f0a2c..ef882381bdf1 100644 --- a/sfx2/source/doc/docvor.cxx +++ b/sfx2/source/doc/docvor.cxx @@ -706,9 +706,9 @@ sal_Bool SfxOrganizeListBox_Impl::MoveOrCopyContents(SvLBox *pSourceBox, // the general reference point while(GetModel()->GetDepth(pParentIter) != nTLevel) pParentIter = GetParent(pParentIter); - if(pParentIter->HasChildsOnDemand() && - !GetModel()->HasChilds(pParentIter)) - RequestingChilds(pParentIter); + if(pParentIter->HasChildrenOnDemand() && + !GetModel()->HasChildren(pParentIter)) + RequestingChildren(pParentIter); SvLBoxEntry *pChildIter = 0; sal_uInt16 i = 0; @@ -721,16 +721,16 @@ sal_Bool SfxOrganizeListBox_Impl::MoveOrCopyContents(SvLBox *pSourceBox, // If possible, fill in Items onDemand ++i; if(i < 2 && p[i+1] != INDEX_IGNORE && - pChildIter->HasChildsOnDemand() && - !GetModel()->HasChilds(pChildIter)) - RequestingChilds(pChildIter); + pChildIter->HasChildrenOnDemand() && + !GetModel()->HasChildren(pChildIter)) + RequestingChildren(pChildIter); pParentIter = pChildIter; } rIdx = p[i]; pNewParent = pParentIter; if(!IsExpanded(pNewParent) && - pNewParent->HasChildsOnDemand() && - !GetModel()->HasChilds(pNewParent)) + pNewParent->HasChildrenOnDemand() && + !GetModel()->HasChildren(pNewParent)) { bOk = sal_False; if(!bCopy) @@ -1132,20 +1132,20 @@ SfxObjectShellRef SfxOrganizeListBox_Impl::GetObjectShell(const Path &rPath) //------------------------------------------------------------------------- -void SfxOrganizeListBox_Impl::RequestingChilds( SvLBoxEntry* pEntry ) +void SfxOrganizeListBox_Impl::RequestingChildren( SvLBoxEntry* pEntry ) /* [Description] - Sent to the Childs of an entry that is going to be inserted. + Sent to the children of an entry that is going to be inserted. (SV-Handler) [Parameter] - SvLBoxEntry* pEntry the entry whose Childs is requested + SvLBoxEntry* pEntry the entry whose children is requested */ { - if ( !GetModel()->HasChilds( pEntry ) ) + if ( !GetModel()->HasChildren( pEntry ) ) { WaitObject aWaitCursor( this ); @@ -1175,8 +1175,8 @@ void SfxOrganizeListBox_Impl::RequestingChilds( SvLBoxEntry* pEntry ) const sal_uInt16 nCount = aRef->GetContentCount(aPath[nDocLevel+1]); String aText; Bitmap aClosedBmp, aOpenedBmp; - const bool bCanHaveChilds = - aRef->CanHaveChilds(aPath[nDocLevel+1], + const bool bCanHaveChildren = + aRef->CanHaveChildren(aPath[nDocLevel+1], aPath[nDocLevel+2]); for(sal_uInt16 i = 0; i < nCount; ++i) { @@ -1191,7 +1191,7 @@ void SfxOrganizeListBox_Impl::RequestingChilds( SvLBoxEntry* pEntry ) SvLBoxEntry *pNew = SvTreeListBox::InsertEntry( aText, aOpenedImage, aClosedImage, - pEntry, bCanHaveChilds); + pEntry, bCanHaveChildren); pNew->SetUserData(bDeletable ? &bDeletable : 0); } } @@ -1285,7 +1285,7 @@ SvLBoxEntry* SfxOrganizeListBox_Impl::InsertEntryByBmpType( const XubString& rText, BMPTYPE eBmpType, SvLBoxEntry* pParent, - sal_Bool bChildsOnDemand, + sal_Bool bChildrenOnDemand, sal_uIntPtr nPos, void* pUserData ) @@ -1310,7 +1310,7 @@ SvLBoxEntry* SfxOrganizeListBox_Impl::InsertEntryByBmpType( OSL_FAIL( "SfxOrganizeListBox_Impl::InsertEntryByBmpType(): something forgotten?!" ); } - pEntry = SvTreeListBox::InsertEntry( rText, *pExp, *pCol, pParent, bChildsOnDemand, nPos, pUserData ); + pEntry = SvTreeListBox::InsertEntry( rText, *pExp, *pCol, pParent, bChildrenOnDemand, nPos, pUserData ); return pEntry; } |