From a2ef65b09da20aa1d0c15b883a58056df2dbad6b Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 29 Dec 2017 00:35:10 +0100 Subject: Fix typos Change-Id: I0e56430afa65b6b5826d56212ac501c0244fce9b Reviewed-on: https://gerrit.libreoffice.org/47145 Tested-by: Jenkins Reviewed-by: Julien Nabet --- qadevOOo/tests/java/ifc/awt/_XWindow.java | 2 +- qadevOOo/tests/java/ifc/container/_XContainer.java | 2 +- qadevOOo/tests/java/ifc/document/_XFilter.java | 2 +- qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java | 2 +- qadevOOo/tests/java/ifc/frame/_XFrame.java | 2 +- qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java | 2 +- qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java | 2 +- qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java | 4 ++-- qadevOOo/tests/java/ifc/view/_XPrintable.java | 2 +- qadevOOo/tests/java/mod/_dbaccess/ORowSet.java | 2 +- qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java | 2 +- qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) (limited to 'qadevOOo') diff --git a/qadevOOo/tests/java/ifc/awt/_XWindow.java b/qadevOOo/tests/java/ifc/awt/_XWindow.java index 10498bde9e62..089118ae7338 100644 --- a/qadevOOo/tests/java/ifc/awt/_XWindow.java +++ b/qadevOOo/tests/java/ifc/awt/_XWindow.java @@ -68,7 +68,7 @@ import util.ValueComparer; * must lost it. *
  • 'XWindow.ControlShape' optional * (of type XControlShape): -* Some shapes cann't change their size within fixed ControlShape +* Some shapes can't change their size within fixed ControlShape * and their size could be changed only if size of container * ControlShape is changed. For such shapes this relation should * be passed for proper addWindowListener test.
  • diff --git a/qadevOOo/tests/java/ifc/container/_XContainer.java b/qadevOOo/tests/java/ifc/container/_XContainer.java index d2302e679df7..6d0d372558e5 100644 --- a/qadevOOo/tests/java/ifc/container/_XContainer.java +++ b/qadevOOo/tests/java/ifc/container/_XContainer.java @@ -47,7 +47,7 @@ import com.sun.star.uno.XNamingService; * container. *
  • 'INSTANCE2' : (optional) * Object which can be inserted into container. The relation -* must be specified when container cann't contain two +* must be specified when container can't contain two * identical objects. Replaces the first instance.
  • *
  • 'XContainer.Container' (of type * com.sun.star.container.XNameContainer) diff --git a/qadevOOo/tests/java/ifc/document/_XFilter.java b/qadevOOo/tests/java/ifc/document/_XFilter.java index 37a8c2b68ea9..8ea1326bc1c7 100644 --- a/qadevOOo/tests/java/ifc/document/_XFilter.java +++ b/qadevOOo/tests/java/ifc/document/_XFilter.java @@ -114,7 +114,7 @@ public class _XFilter extends MultiMethodTest { result = oObj.filter(mDesc) ; if (checker == null) { - log.println("!!! Warning : cann't check filter as no relation found"); + log.println("!!! Warning : can't check filter as no relation found"); } else { result &= checker.checkFilter() ; } diff --git a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java index d8dd8da8bdf8..7583ca6ec1ed 100644 --- a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java +++ b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java @@ -55,7 +55,7 @@ import com.sun.star.uno.UnoRuntime; * * Prerequisites: component must implement XTextComponent * interface for changing component's text which must cause listener call. -* If the component cann't support the interface, then the relation +* If the component can't support the interface, then the relation * 'XChangeBroadcaster.Changer' must be passed.

    * * Test is NOT multithread compliant.

    diff --git a/qadevOOo/tests/java/ifc/frame/_XFrame.java b/qadevOOo/tests/java/ifc/frame/_XFrame.java index 118134777953..c2e3e815ea0c 100644 --- a/qadevOOo/tests/java/ifc/frame/_XFrame.java +++ b/qadevOOo/tests/java/ifc/frame/_XFrame.java @@ -406,7 +406,7 @@ public class _XFrame extends MultiMethodTest { TestFrameActionListener listener = new TestFrameActionListener(); if (tEnv.getTestCase().getObjectName().equals("Desktop")) { - log.println("Desktop cann't change context"); + log.println("Desktop can't change context"); tRes.tested("contextChanged()", true) ; return; } diff --git a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java index 0cff3d08117b..1475b7380db5 100644 --- a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java +++ b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java @@ -80,7 +80,7 @@ public class _XInvocationAdapterFactory extends MultiMethodTest { } catch (com.sun.star.uno.Exception e) { e.printStackTrace(log) ; - throw new StatusException("Cann't create invocation for object", e) ; + throw new StatusException("Can't create invocation for object", e) ; } XInterface xInStr = null ; diff --git a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java index 636c6578f2e4..ba38e2e7254a 100644 --- a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java +++ b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java @@ -80,7 +80,7 @@ public class _XInvocationAdapterFactory2 extends MultiMethodTest { } catch (com.sun.star.uno.Exception e) { e.printStackTrace(log) ; - throw new StatusException("Cann't create invocation for object", e) ; + throw new StatusException("Can't create invocation for object", e) ; } XInterface xInStr = null ; diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java index 8665f2fb3c95..eddf139c607a 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java @@ -32,9 +32,9 @@ import com.sun.star.util.XCancellable; *

  • execute()
  • *

    * - * This interface methods cann't be checked, thereby methods + * These interface methods can't be checked, thereby methods * are just called. execute method is not called - * at all as the dialog shown cann't be disposed.

    + * at all as the dialog shown can't be disposed.

    * * Test is NOT multithread compliant.

    * @see com.sun.star.ui.dialogs.XExecutableDialog diff --git a/qadevOOo/tests/java/ifc/view/_XPrintable.java b/qadevOOo/tests/java/ifc/view/_XPrintable.java index 6a55688be115..bea28547ded4 100644 --- a/qadevOOo/tests/java/ifc/view/_XPrintable.java +++ b/qadevOOo/tests/java/ifc/view/_XPrintable.java @@ -114,7 +114,7 @@ public class _XPrintable extends MultiMethodTest { * exists.

    * * @throws StatusException if service - * com.sun.star.ucb.SimpleFileAccess cann't be + * com.sun.star.ucb.SimpleFileAccess can't be * created. */ public void _print() throws Exception { diff --git a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java index d31bfe1ea029..6e0a758e00d4 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java +++ b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java @@ -205,7 +205,7 @@ public class ORowSet extends TestCase { * Creating a TestEnvironment for the interfaces to be tested. * The database (DBF) file is copied from test document directory * into SOffice temp dir with unique name for each environment - * creation. If the file cann't be copied (is not released) + * creation. If the file can't be copied (is not released) * then another unique name is used (file name suffix incremented * by 1).

    * diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java index 63d1ffdf33b8..c68079738bc1 100644 --- a/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java +++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java @@ -120,7 +120,7 @@ public class SwAccessibleFooterView extends TestCase { Integer.valueOf(1000)); } catch (com.sun.star.uno.Exception e) { e.printStackTrace(); - throw new StatusException("Cann't change footer.", e); + throw new StatusException("Can't change footer.", e); } } }); diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java index 746d47514843..39fd8f954743 100644 --- a/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java +++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleHeaderView.java @@ -110,7 +110,7 @@ public class SwAccessibleHeaderView extends TestCase { Integer.valueOf(1000)); } catch (com.sun.star.uno.Exception e) { e.printStackTrace(); - throw new StatusException("Cann't change footer.", e); + throw new StatusException("Can't change footer.", e); } } }); -- cgit