[Libreoffice-commits] core.git: package/source qadevOOo/runner

Andrea Gelmini andrea.gelmini at gelma.net
Wed Sep 30 03:59:56 PDT 2015


 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(-)

New commits:
commit 3764f7435eb00053e04ea3e8f042fcfc5c7826f2
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed Sep 30 12:55:43 2015 +0200

    Fix typos
    
    Change-Id: Id27f5a357c1333dec5c24c4f5e0fdaed7a775774
    Reviewed-on: https://gerrit.libreoffice.org/18963
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index eb5642d..db24890 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 d3d713b..445b0df 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 ed99b7d..76e6e26 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 212b2c98..e32eb79 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 9389e29..395be4c 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 96adacd..c93f3ad 100644
--- a/qadevOOo/runner/lib/MultiMethodTest.java
+++ b/qadevOOo/runner/lib/MultiMethodTest.java
@@ -33,7 +33,7 @@ import com.sun.star.uno.UnoRuntime;
  * <p>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 80afb01..320ae20 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 5bf86fd..593fc6e 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 4b25977..5a1f489 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 892a33d..172dcac 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 73f11ba..e9a84cd 100644
--- a/qadevOOo/runner/util/CalcTools.java
+++ b/qadevOOo/runner/util/CalcTools.java
@@ -94,7 +94,7 @@ public class CalcTools {
     /**
      *
      * returns an <CODE>XSpreadsheet</CODE> 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 <CODE>java.lang.Exception</CODE> was thrown
      * @return calc sheet
diff --git a/qadevOOo/runner/util/UITools.java b/qadevOOo/runner/util/UITools.java
index f72868e..c9969d3 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 05b5232..97ec89c 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 <code>true</code> if the value is acssumed to be a structure.
+     * @return <code>true</code> 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 5e54a62..0918ba1 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 9f15fa0..106f757 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
      */


More information about the Libreoffice-commits mailing list