diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /toolkit/source/controls | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit/source/controls')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index eadba3526384..2b34b9d856cf 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -494,18 +494,18 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any& UnoControlModelHolderList::iterator aElementPos = ImplFindElement( aName ); if ( maModels.end() == aElementPos ) lcl_throwNoSuchElementException(); - // Dialog behaviour is to have all containee names unique ( MSO Userform is the same ) - // With container controls you could have constructed an existing hierachy and are now + // Dialog behaviour is to have all containee names unique (MSO Userform is the same) + // With container controls you could have constructed an existing hierarchy and are now // add this to an existing container, in this case a name nested in the containment - // hierachy of the added control could contain a name clash, if we have access to the - // list of global names then recursively check for previously existing names ( we need - // to do this obviously before the 'this' objects container is updated + // hierarchy of the added control could contain a name clash, if we have access to the + // list of global names then recursively check for previously existing names (we need + // to do this obviously before the 'this' objects container is updated) Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY ); if ( xAllChildren.is() ) { - // remove old control ( and children ) from global list of containees + // remove old control (and children) from global list of containees updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() ); - // Add new control ( and containees if they exist ) + // Add new control (and containees if they exist) updateUserFormChildren( xAllChildren, aName, Insert, xNewModel ); } // stop listening at the old model @@ -594,13 +594,13 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any& if ( maModels.end() != aElementPos ) lcl_throwElementExistException(); - // Dialog behaviour is to have all containee names unique ( MSO Userform is the same ) - // With container controls you could have constructed an existing hierachy and are now + // Dialog behaviour is to have all containee names unique (MSO Userform is the same) + // With container controls you could have constructed an existing hierarchy and are now // add this to an existing container, in this case a name nested in the containment - // hierachy of the added control could contain a name clash, if we have access to the + // hierarchy of the added control could contain a name clash, if we have access to the // list of global names then we need to recursively check for previously existing - // names ( we need to do this obviously before the 'this' objects container is updated - // remove old control ( and children ) from global list of containees + // names (we need to do this obviously before the 'this' objects container is updated) + // remove old control (and children) from global list of containees Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY ); if ( xAllChildren.is() ) @@ -627,11 +627,11 @@ void ControlModelContainerBase::removeByName( const OUString& aName ) throw(NoSu if ( maModels.end() == aElementPos ) lcl_throwNoSuchElementException(); - // Dialog behaviour is to have all containee names unique ( MSO Userform is the same ) - // With container controls you could have constructed an existing hierachy and are now + // Dialog behaviour is to have all containee names unique (MSO Userform is the same) + // With container controls you could have constructed an existing hierarchy and are now // removing this control from an existing container, in this case all nested names in - // the containment hierachy of the control to be removed need to be removed from the global - // names cache ( we need to do this obviously before the 'this' objects container is updated ) + // the containment hierarchy of the control to be removed need to be removed from the global + // names cache (we need to do this obviously before the 'this' objects container is updated) Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY ); if ( xAllChildren.is() ) updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() ); |