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 /basic | |
parent | ad2eb6c4ba3ca36e2302c721a106dac80d266325 (diff) |
childs -> children
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index b73532bd5bb9..f2974760f0ab 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -377,11 +377,11 @@ void SbxVariable::SetParent( SbxObject* p ) { // then this had to be a child of the new parent sal_Bool bFound = sal_False; - SbxArray *pChilds = p->GetObjects(); - if ( pChilds ) + SbxArray *pChildren = p->GetObjects(); + if ( pChildren ) { - for ( sal_uInt16 nIdx = 0; !bFound && nIdx < pChilds->Count(); ++nIdx ) - bFound = ( this == pChilds->Get(nIdx) ); + for ( sal_uInt16 nIdx = 0; !bFound && nIdx < pChildren->Count(); ++nIdx ) + bFound = ( this == pChildren->Get(nIdx) ); } if ( !bFound ) { |