From 3764f7435eb00053e04ea3e8f042fcfc5c7826f2 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 30 Sep 2015 12:55:43 +0200 Subject: Fix typos Change-Id: Id27f5a357c1333dec5c24c4f5e0fdaed7a775774 Reviewed-on: https://gerrit.libreoffice.org/18963 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- package/source/xstor/xstorage.cxx | 4 ++-- package/source/zippackage/ZipPackage.cxx | 2 +- qadevOOo/runner/helper/OfficeProvider.java | 4 ++-- qadevOOo/runner/helper/ProcessHandler.java | 2 +- qadevOOo/runner/helper/URLHelper.java | 2 +- qadevOOo/runner/lib/MultiMethodTest.java | 2 +- qadevOOo/runner/lib/SimpleStatus.java | 2 +- qadevOOo/runner/lib/Status.java | 2 +- qadevOOo/runner/lib/TestResult.java | 2 +- qadevOOo/runner/share/DescGetter.java | 4 ++-- qadevOOo/runner/util/CalcTools.java | 2 +- qadevOOo/runner/util/UITools.java | 2 +- qadevOOo/runner/util/ValueChanger.java | 2 +- qadevOOo/runner/util/db/DataSource.java | 2 +- qadevOOo/runner/util/utils.java | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index eb5642dcf816..db24890076f0 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -749,8 +749,8 @@ void OStorage_Impl::CopyToStorage( const uno::Reference< embed::XStorage >& xDes // uno::Reference< io::XInputStream > xRelInfoStream = GetRelInfoStreamForName( OUString() ); // own stream // if ( xRelInfoStream.is() ) // { - // // Relations info stream is a writeonly property, introduced only to optimyze copying - // // Should be used carefuly since no check for stream consistency is done, and the stream must not stay locked + // // Relations info stream is a writeonly property, introduced only to optimize copying + // // Should be used carefully since no check for stream consistency is done, and the stream must not stay locked // OUString aRelInfoString = "RelationsInfoStream"; // xPropSet->setPropertyValue( aRelInfoString, uno::makeAny( GetSeekableTempCopy( xRelInfoStream, m_xFactory ) ) ); diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index d3d713be0327..445b0df44435 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -1052,7 +1052,7 @@ void ZipPackage::WriteContentTypes( ZipOutputStream& aZipOut, const vector< uno: pEntry->nTime = ZipOutputStream::getCurrentDosTime(); // Convert vector into a uno::Sequence - // TODO/LATER: use Defaulst entries in future + // TODO/LATER: use Default entries in future uno::Sequence< beans::StringPair > aDefaultsSequence; uno::Sequence< beans::StringPair > aOverridesSequence( aManList.size() ); sal_Int32 nSeqLength = 0; diff --git a/qadevOOo/runner/helper/OfficeProvider.java b/qadevOOo/runner/helper/OfficeProvider.java index ed99b7d42e4f..76e6e2671012 100644 --- a/qadevOOo/runner/helper/OfficeProvider.java +++ b/qadevOOo/runner/helper/OfficeProvider.java @@ -167,8 +167,8 @@ public class OfficeProvider implements AppProvider XMultiServiceFactory msf = connectOffice(cncstr); // if the office is running and the office crashes while testing it could - // be usesfull to restart the office if possible and continuing the tests. - // Example: The UNO-API-Tests in the projects will be executed by calling + // be useful to restart the office if possible and continuing the tests. + // Example: the UNO-API-Tests in the projects will be executed by calling // 'damke'. This connects to an existing office. If the office crashes // it is useful to restart the office and continuing the tests. if ((param.getBool(util.PropertyName.AUTO_RESTART)) && (msf != null)) diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java index 212b2c9875ed..e32eb796c78f 100644 --- a/qadevOOo/runner/helper/ProcessHandler.java +++ b/qadevOOo/runner/helper/ProcessHandler.java @@ -30,7 +30,7 @@ import util.utils; /** * Class collect information from input stream in - * background (sparate thread) and outputs it to + * background (separate thread) and outputs it to * some log stream. I helps to avoid buffer overflow * when output stream has small buffer size (e.g. * in case when handling stdout from external diff --git a/qadevOOo/runner/helper/URLHelper.java b/qadevOOo/runner/helper/URLHelper.java index 9389e29eca0b..395be4cd08ba 100644 --- a/qadevOOo/runner/helper/URLHelper.java +++ b/qadevOOo/runner/helper/URLHelper.java @@ -28,7 +28,7 @@ import java.util.Iterator; /** - * It collects some static helper functons to handle URLs. + * It collects some static helper functions to handle URLs. * Sometimes it's necessary to convert URL from/to system paths. * Or from string to strutural notations (e.g. com.sun.star.util.URL). * And sometimes java had another notation then the office it has. diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java index 96adacd3e0cc..c93f3addeb42 100644 --- a/qadevOOo/runner/lib/MultiMethodTest.java +++ b/qadevOOo/runner/lib/MultiMethodTest.java @@ -33,7 +33,7 @@ import com.sun.star.uno.UnoRuntime; *

There are some points that should be fulfilled in a subclass to work * correctly in the multi-method framework: * - * 1. each subclass schould define a public field named oObj of type tested + * 1. each subclass should define a public field named oObj of type tested * by the subclass, e.g. 'public XText oObj;'. That field will be initialized * by the MultiMethodTest code with the instance of the interface to test. * In a case of service testing the field type should be XPropertySet. diff --git a/qadevOOo/runner/lib/SimpleStatus.java b/qadevOOo/runner/lib/SimpleStatus.java index 80afb01cf5c2..320ae202b45c 100644 --- a/qadevOOo/runner/lib/SimpleStatus.java +++ b/qadevOOo/runner/lib/SimpleStatus.java @@ -119,7 +119,7 @@ class SimpleStatus { } /** - * Get the ressult: passed or failed. + * Get the result: passed or failed. */ public String getStateString() { if (state) diff --git a/qadevOOo/runner/lib/Status.java b/qadevOOo/runner/lib/Status.java index 5bf86fd86888..593fc6ed3605 100644 --- a/qadevOOo/runner/lib/Status.java +++ b/qadevOOo/runner/lib/Status.java @@ -56,7 +56,7 @@ public class Status extends SimpleStatus { /** * This is a factory method for creating a Status representing normal - * actibity termination. + * activity termination. * * @param state describes a test state (OK if state == true, FAILED * otherwise). diff --git a/qadevOOo/runner/lib/TestResult.java b/qadevOOo/runner/lib/TestResult.java index 4b259777446f..5a1f4898b7b9 100644 --- a/qadevOOo/runner/lib/TestResult.java +++ b/qadevOOo/runner/lib/TestResult.java @@ -35,7 +35,7 @@ public class TestResult { * and makes the state of the method completed. It's equal to * tested(method, Status(result)) call. * - * @param method reffers to the method which was tested + * @param method refers to the method which was tested * @param result the result of testing the method * * @return the result value diff --git a/qadevOOo/runner/share/DescGetter.java b/qadevOOo/runner/share/DescGetter.java index 892a33dc50e0..172dcacf56c4 100644 --- a/qadevOOo/runner/share/DescGetter.java +++ b/qadevOOo/runner/share/DescGetter.java @@ -148,7 +148,7 @@ public abstract class DescGetter { if (debug) { - System.out.println("Exception while closeing scenario"); + System.out.println("Exception while closing scenario"); } } @@ -179,4 +179,4 @@ public abstract class DescGetter return namesList; } -} \ No newline at end of file +} diff --git a/qadevOOo/runner/util/CalcTools.java b/qadevOOo/runner/util/CalcTools.java index 73f11ba81cf0..e9a84cdbc2e3 100644 --- a/qadevOOo/runner/util/CalcTools.java +++ b/qadevOOo/runner/util/CalcTools.java @@ -94,7 +94,7 @@ public class CalcTools { /** * * returns an XSpreadsheet from a Calc document. - * @param xSheetDoc the Calc docuent which contains the sheet + * @param xSheetDoc the Calc document which contains the sheet * @param sheetNumber the number of the sheet to return * @throws java.lang.Exception on any error an java.lang.Exception was thrown * @return calc sheet diff --git a/qadevOOo/runner/util/UITools.java b/qadevOOo/runner/util/UITools.java index f72868e9bab1..c9969d355752 100644 --- a/qadevOOo/runner/util/UITools.java +++ b/qadevOOo/runner/util/UITools.java @@ -151,7 +151,7 @@ public class UITools { } else { XAccessible xListBoxAccess = UnoRuntime.queryInterface(XAccessible.class, xListBox); - // if a List is not pulled to be open all entries are not visiblle, therefore the + // if a List is not pulled to be open all entries are not visible, therefore the // boolean argument xList =AccessibilityTools.getAccessibleObjectForRole( xListBoxAccess, AccessibleRole.LIST, true); diff --git a/qadevOOo/runner/util/ValueChanger.java b/qadevOOo/runner/util/ValueChanger.java index 05b52329e0bb..97ec89cf29f3 100644 --- a/qadevOOo/runner/util/ValueChanger.java +++ b/qadevOOo/runner/util/ValueChanger.java @@ -1024,7 +1024,7 @@ public class ValueChanger { * * @param val * the value to be checked. - * @return true if the value is acssumed to be a structure. + * @return true if the value is assumed to be a structure. */ private static boolean isStructure(Object val) { boolean result = true; diff --git a/qadevOOo/runner/util/db/DataSource.java b/qadevOOo/runner/util/db/DataSource.java index 5e54a625e9ac..0918ba1d14e6 100644 --- a/qadevOOo/runner/util/db/DataSource.java +++ b/qadevOOo/runner/util/db/DataSource.java @@ -128,7 +128,7 @@ public class DataSource doc.storeAsURL( docURL ); } - // register the data soource + // register the data source doing = "registering the data source at the database context"; dbContext.registerObject( _registrationName, m_dataSource ); } diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index 9f15fa041dc7..106f757095ee 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -231,7 +231,7 @@ public class utils { * "Temp" returns the temp folder of the office instance. * @param msf a XMultiServiceFactory * @param setting the name of the setting the value should be returned. - * For example "Temp" reutrns the temp folder of the current office instance. + * For example "Temp" returns the temp folder of the current office instance. * @see com.sun.star.util.PathSettings * @return the value as String */ -- cgit