From b97341c8706363e517fbd3d12d76c5b92c1aea51 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 8 Feb 2015 14:26:27 +0100 Subject: Typo: we has->we have Change-Id: Ib225351c908f5a2e64b039e07030e5d91a9b8dd7 --- framework/source/services/desktop.cxx | 2 +- framework/source/services/dispatchhelper.cxx | 2 +- framework/source/services/frame.cxx | 2 +- sfx2/source/dialog/backingcomp.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 3b765fba9df2..d686b755151b 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -1044,7 +1044,7 @@ void SAL_CALL Desktop::disposing() // So nobody can use us any longer. // Exception: Only removing of listener will work ... and this code can't be dangerous. - // First we has to kill all listener connections. + // First we have to kill all listener connections. // They might rely on our member and can hinder us on releasing them. css::uno::Reference< css::uno::XInterface > xThis ( static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY ); css::lang::EventObject aEvent( xThis ); diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx index 992879f226ff..4548670d6d46 100644 --- a/framework/source/services/dispatchhelper.cxx +++ b/framework/source/services/dispatchhelper.cxx @@ -158,7 +158,7 @@ void SAL_CALL DispatchHelper::dispatchFinished( const css::frame::DispatchResult m_xBroadcaster.clear(); } -/** we has to realease our broadcaster reference. +/** we have to release our broadcaster reference. @param aEvent describe the source of this event and MUST be our save broadcaster! diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 02dfd2ca313f..5cdb57e50c0c 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1463,7 +1463,7 @@ void SAL_CALL Frame::contextChanged() throw( css::uno::RuntimeException, std::ex /*-**************************************************************************************************** @short set new component inside the frame - @descr A frame is a container for a component. Use this method to set, change or realease it! + @descr A frame is a container for a component. Use this method to set, change or release it! We accept null references! The xComponentWindow will be a child of our container window and get all window events from us. diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx index db35553fd432..e8f49fb42652 100644 --- a/sfx2/source/dialog/backingcomp.cxx +++ b/sfx2/source/dialog/backingcomp.cxx @@ -328,7 +328,7 @@ css::uno::Sequence< OUString > SAL_CALL BackingComp::getSupportedServiceNames() /** attach this component to a target frame. - We has to use the container window of this frame as parent window of our own component window. + We have to use the container window of this frame as parent window of our own component window. But it's not allowed to work with it really. May another component used it too. Currently we need it only to create our child component window and support it's interfaces inside our queryInterface() method. The user of us must have e.g. the -- cgit