From 64d624b65124ac02d8ee59b135593fd9d8eb9067 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 9 Jan 2016 22:55:28 +0100 Subject: Fix typos Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins Reviewed-by: Ashod Nakashian --- toolkit/qa/complex/toolkit/GridControl.java | 2 +- toolkit/source/awt/vclxtoolkit.cxx | 2 +- toolkit/source/controls/unocontrol.cxx | 4 ++-- toolkit/source/controls/unocontrols.cxx | 2 +- toolkit/test/accessibility/QueuedTopWindowListener.java | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'toolkit') diff --git a/toolkit/qa/complex/toolkit/GridControl.java b/toolkit/qa/complex/toolkit/GridControl.java index 7441767714a0..bde63aa2fc67 100644 --- a/toolkit/qa/complex/toolkit/GridControl.java +++ b/toolkit/qa/complex/toolkit/GridControl.java @@ -296,7 +296,7 @@ public class GridControl removeColumnIndex, removalIndex ); } - // calling addColumn with a column not created by the given model/implementatoion should not succeed + // calling addColumn with a column not created by the given model/implementation should not succeed boolean caughtExpected = false; try { diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index af5b603afa7d..13e79821e925 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -1010,7 +1010,7 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, *ppNewComp = new VCLXRadioButton; // by default, disable RadioCheck - // Since the VCLXRadioButton really cares for it's RadioCheck settings, this is important: + // Since the VCLXRadioButton really cares for its RadioCheck settings, this is important: // if we enable it, the VCLXRadioButton will use RadioButton::Check instead of RadioButton::SetState // This leads to a strange behaviour if the control is newly created: when settings the initial // state to "checked", the RadioButton::Check (called because RadioCheck=sal_True) will uncheck diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 050b0aa61ed9..856ea4cd2005 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -620,8 +620,8 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent { SolarMutexGuard aVclGuard; // and now this is the final withdrawal: - // I have no other idea than locking the SolarMutex here .... - // I really hate the fact that VCL is not theadsafe .... + // I have no other idea than locking the SolarMutex here.... + // I really hate the fact that VCL is not threadsafe.... // Doesn't work for Container! getPeer()->dispose(); diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 46b4ceab96af..366b9e4d51db 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -1327,7 +1327,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) thr // Nowadays, since the listener handling changed a lot towards 1.1 (the VCLXWindow reacts on more // basic events from the VCL-windows, not anymore on the Link-based events like in 1.0.x), this // isn't the case anymore: For instance, this method here gets called for the radio button - // which is being implicitily _de_selected, too. This is pretty bad for compatibility. + // which is being implicitly _de_selected, too. This is pretty bad for compatibility. // Thus, we suppress all events with a new state other than "1". This is unlogical, and weird, when looking // from a pure API perspective, but it's _compatible_ with older product versions, and this is // all which matters here. diff --git a/toolkit/test/accessibility/QueuedTopWindowListener.java b/toolkit/test/accessibility/QueuedTopWindowListener.java index 96778c718fae..2ac5c7849da5 100644 --- a/toolkit/test/accessibility/QueuedTopWindowListener.java +++ b/toolkit/test/accessibility/QueuedTopWindowListener.java @@ -77,7 +77,7 @@ class QueuedTopWindowListener public void windowDeactivated (final com.sun.star.lang.EventObject aEvent) throws RuntimeException { - System.out.println ("QueuedTopWindowListener: Top window deactived: " + aEvent); + System.out.println ("QueuedTopWindowListener: Top window deactivated: " + aEvent); } public void disposing( final EventObject aEvent) -- cgit