summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 18:22:26 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 10:50:55 +0200
commit263e04b66d11eaf5d05c1e745df69e5f5010f7fb (patch)
treebb63baac425106b029bc900dd383bcae739754ce /toolkit
parent3a5edbe5692cbddc8e6e25c73a7cacf7f7142bfb (diff)
Fix typos
Change-Id: Ic472270afa13d2c96a4c7ccc185d183c3b7ade2c Reviewed-on: https://gerrit.libreoffice.org/77277 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/geometrycontrolmodel.cxx2
-rw-r--r--toolkit/source/controls/unocontrol.cxx6
-rw-r--r--toolkit/source/controls/unocontrols.cxx2
-rw-r--r--toolkit/test/accessibility/AccessibilityTreeModel.java2
-rw-r--r--toolkit/test/accessibility/OfficeConnection.java2
-rw-r--r--toolkit/test/accessibility/news.html2
6 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx
index 53a12342d8de..38827556bb0b 100644
--- a/toolkit/source/controls/geometrycontrolmodel.cxx
+++ b/toolkit/source/controls/geometrycontrolmodel.cxx
@@ -87,7 +87,7 @@
{
m_xAggregate = _pAggregateInstance;
- { // check if the aggregate is cloneable
+ { // check if the aggregate is clonable
Reference< XCloneable > xCloneAccess(m_xAggregate, UNO_QUERY);
m_bCloneable = xCloneAccess.is();
}
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 2359ed44981b..1881fa374bd3 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -157,7 +157,7 @@ OUString UnoControl::GetComponentServiceName()
Reference< XWindowPeer > UnoControl::ImplGetCompatiblePeer()
{
- DBG_ASSERT( !mbCreatingCompatiblePeer, "ImplGetCompatiblePeer - rekursive?" );
+ DBG_ASSERT( !mbCreatingCompatiblePeer, "ImplGetCompatiblePeer - recursive?" );
mbCreatingCompatiblePeer = true;
@@ -244,7 +244,7 @@ bool UnoControl::ImplCheckLocalize( OUString& _rPossiblyLocalizable )
void UnoControl::ImplSetPeerProperty( const OUString& rPropName, const Any& rVal )
{
- // since a change made in propertiesChange, we can't be sure that this is called with an valid getPeer(),
+ // since a change made in propertiesChange, we can't be sure that this is called with a valid getPeer(),
// this assumption may be false in some (seldom) multi-threading scenarios (cause propertiesChange
// releases our mutex before calling here in)
// That's why this additional check
@@ -565,7 +565,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
Reference< XWindow > xParent = getParentPeer();
Reference< XControl > xThis( static_cast<XAggregation*>(static_cast<cppu::OWeakAggObject*>(this)), UNO_QUERY );
- // call createPeer via a interface got from queryInterface, so the aggregating class can intercept it
+ // call createPeer via an interface got from queryInterface, so the aggregating class can intercept it
DBG_ASSERT( !bNeedNewPeer || xParent.is(), "Need new peer, but don't have a parent!" );
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 97b304699154..6145b6564b7a 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -1268,7 +1268,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent )
if ( maItemListeners.getLength() )
maItemListeners.itemStateChanged( rEvent );
}
- // note that speaking stricly, this is wrong: When in 1.0.x, the user would have de-selected
+ // note that speaking strictly, this is wrong: When in 1.0.x, the user would have de-selected
// a radio button _without_ selecting another one, this would have caused a notification.
// With the change done here, this today won't cause a notification anymore.
diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java
index 49f3b4ea3c78..b021746bc2e1 100644
--- a/toolkit/test/accessibility/AccessibilityTreeModel.java
+++ b/toolkit/test/accessibility/AccessibilityTreeModel.java
@@ -175,7 +175,7 @@ public class AccessibilityTreeModel
}
- /** Add add a new child to a parent.
+ /** Add a new child to a parent.
@return
Returns the new or existing representation of the specified
accessible object.
diff --git a/toolkit/test/accessibility/OfficeConnection.java b/toolkit/test/accessibility/OfficeConnection.java
index 4ecb98ba0b47..357c7c6d183b 100644
--- a/toolkit/test/accessibility/OfficeConnection.java
+++ b/toolkit/test/accessibility/OfficeConnection.java
@@ -50,7 +50,7 @@ public class OfficeConnection
connect (msDefaultHost, mnDefaultPort);
}
- /** @descr Connect to a already running LibreOffice application that has
+ /** @descr Connect to an already running LibreOffice application that has
been started with a command line argument like
"--accept=socket,host=localhost,port=5678;urp;"
*/
diff --git a/toolkit/test/accessibility/news.html b/toolkit/test/accessibility/news.html
index 9e801723f06a..7b5336ea45d3 100644
--- a/toolkit/test/accessibility/news.html
+++ b/toolkit/test/accessibility/news.html
@@ -1,6 +1,6 @@
<html><body bgcolor="#fffaf0">
<h1>News for AWB v1.7.2</h1>
-<p>Adaption to recent UAA changes:
+<p>Adaptation to recent UAA changes:
<ul>
<li>Introduction of
com.sun.star.accessibility.TextSegment structure that is returned by some