diff options
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/base/basecontainercontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx index 9c6bef517e53..40bb1dc98166 100644 --- a/UnoControls/source/base/basecontainercontrol.cxx +++ b/UnoControls/source/base/basecontainercontrol.cxx @@ -208,10 +208,10 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re pNewControl->xControl->setContext ( static_cast<OWeakObject*>(this) ); pNewControl->xControl->addEventListener ( static_cast< XEventListener* >( static_cast< XWindowListener* >( this ) ) ); - // when container has a peer ... + // when container has a peer... if (getPeer().is()) { - // .. then create a peer on child + // ... then create a peer on child pNewControl->xControl->createPeer ( getPeer()->getToolkit(), getPeer() ); } |