summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-01 12:50:37 +0200
committerjan iversen <jani@documentfoundation.org>2016-10-03 13:43:44 +0000
commit8f9af8dd970d8e2a620beb35a6ce145d65d18df5 (patch)
tree524156dacadfb67a487480ae8e0dd6422676e847 /UnoControls
parent0c29c153465f80085e0c4ec0fe36e42e10ed4fb4 (diff)
Fix typos
Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1 Reviewed-on: https://gerrit.libreoffice.org/29430 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/base/basecontrol.cxx2
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx10
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx2
-rw-r--r--UnoControls/source/controls/statusindicator.cxx2
4 files changed, 8 insertions, 8 deletions
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;