From 8f9af8dd970d8e2a620beb35a6ce145d65d18df5 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 1 Oct 2016 12:50:37 +0200 Subject: Fix typos Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1 Reviewed-on: https://gerrit.libreoffice.org/29430 Reviewed-by: jan iversen Tested-by: jan iversen --- UnoControls/source/base/basecontrol.cxx | 2 +- UnoControls/source/controls/OConnectionPointHelper.cxx | 10 +++++----- UnoControls/source/controls/progressmonitor.cxx | 2 +- UnoControls/source/controls/statusindicator.cxx | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx index f689ed202ed5..2bbf46556649 100644 --- a/UnoControls/source/base/basecontrol.cxx +++ b/UnoControls/source/base/basecontrol.cxx @@ -746,7 +746,7 @@ void BaseControl::impl_paint( sal_Int32 /*nX*/ { // - one paint method for peer AND view !!! // (see also => "windowPaint()" and "draw()") - // - not used in this implementation, but its not necessary to make it pure virtual !!! + // - not used in this implementation, but it's not necessary to make it pure virtual !!! } // protected method diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx index 13ec1bf2419b..28692a405b38 100644 --- a/UnoControls/source/controls/OConnectionPointHelper.cxx +++ b/UnoControls/source/controls/OConnectionPointHelper.cxx @@ -104,7 +104,7 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeExceptio // Set default return value, if method failed. if ( !impl_LockContainer() ) { - // Container not exist! Its an runtime error. + // Container not exist! It's a runtime error. throw RuntimeException(); } @@ -144,13 +144,13 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi } // ListenerExistException is obsolete!? - // Its the same container for XConnectionPointContainer and XConnectionPoint. But only here we must control, if a listener already exist!? + // It's the same container for XConnectionPointContainer and XConnectionPoint. But only here we must control, if a listener already exist!? // You can add a listener more than one time at XConnectionPointContainer, but here only one ... // Operation is permitted only, if reference to container is valid! if ( !impl_LockContainer() ) { - // Container not exist! Its an runtime error. + // Container not exist! It's a runtime error. throw RuntimeException(); } // Forward it to OConnectionPointHelperContainer! @@ -168,7 +168,7 @@ void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& x // Operation is permitted only, if reference to container is valid! if ( !impl_LockContainer() ) { - // Container not exist! Its an runtime error. + // Container not exist! It's a runtime error. throw RuntimeException(); } @@ -187,7 +187,7 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti // Operation is permitted only, if reference to container is valid! if ( !impl_LockContainer() ) { - // Container not exist! Its an runtime error. + // Container not exist! It's a runtime error. throw RuntimeException(); } // Set default return value, if method failed. diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index 635e0eab1353..7016e347b716 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -46,7 +46,7 @@ namespace unocontrols{ ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext >& rxContext ) : BaseContainerControl ( rxContext ) { - // Its not allowed to work with member in this method (refcounter !!!) + // It's not allowed to work with member in this method (refcounter !!!) // But with a HACK (++refcount) its "OK" :-( ++m_refCount; diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 75b5c87ee053..8df082e8f12d 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -40,7 +40,7 @@ namespace unocontrols{ StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >& rxContext ) : BaseContainerControl ( rxContext ) { - // Its not allowed to work with member in this method (refcounter !!!) + // It's not allowed to work with member in this method (refcounter !!!) // But with a HACK (++refcount) its "OK" :-( ++m_refCount; -- cgit