diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-01-26 11:37:23 +0100 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-01-27 08:45:03 +0100 |
commit | 72c68a3d1768ea2e05671aee3b2a0db8d87c9e86 (patch) | |
tree | 427d070add01976520c546f56e373d6d903c97f8 /toolkit/source/controls/controlmodelcontainerbase.cxx | |
parent | ba8c04a6fc7d1931b4417af99aa0b45091747d83 (diff) |
Fix typos
Change-Id: I914ac70f39028caebafb874e871f11017fda7795
Reviewed-on: https://gerrit.libreoffice.org/48682
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 88012e542899..1135c52c68fe 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -494,7 +494,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any& { // remove old control (and children) from global list of containers updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() ); - // Add new control (and containees if they exist) + // Add new control (and containers if they exist) updateUserFormChildren( xAllChildren, aName, Insert, xNewModel ); } // stop listening at the old model @@ -589,7 +589,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any& // 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 + // remove old control (and children) from global list of containers Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY ); if ( xAllChildren.is() ) @@ -1840,7 +1840,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain { Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY ); // container control is being removed from this container, reset the - // global list of containees + // global list of containers if ( xProps.is() ) xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( uno::Reference< XNameContainer >() ) ); Sequence< OUString > aChildNames = xChildContainer->getElementNames(); @@ -1855,7 +1855,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain if ( xChildContainer.is() ) { // container control is being added from this container, reset the - // global list of containees to point to the correct global list + // global list of containers to point to the correct global list Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY ); if ( xProps.is() ) xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( xAllChildren ) ); |