[Libreoffice-commits] core.git: pyuno/source qadevOOo/runner qadevOOo/tests reportbuilder/java reportdesign/source rsc/inc

Andrea Gelmini andrea.gelmini at gelma.net
Thu Mar 2 12:32:36 UTC 2017


 pyuno/source/module/pyuno_runtime.cxx                                     |    2 +-
 qadevOOo/runner/helper/ContextMenuInterceptor.java                        |    8 ++++----
 qadevOOo/tests/java/ifc/awt/_XControl.java                                |    2 +-
 qadevOOo/tests/java/ifc/lang/_XInitialization.java                        |    2 +-
 qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java               |    2 +-
 qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java                 |    2 +-
 qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java            |    2 +-
 qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java             |    4 ++--
 reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java |    2 +-
 reportdesign/source/ui/inc/UITools.hxx                                    |    2 +-
 rsc/inc/rsctop.hxx                                                        |    2 +-
 11 files changed, 15 insertions(+), 15 deletions(-)

New commits:
commit b068d9fb8d29e06ff652b1493605cea22a9199f3
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Thu Mar 2 12:23:08 2017 +0100

    Fix typos
    
    Change-Id: I35eeb71f4f698e39b7b0d98e3cb30657a64a611a
    Reviewed-on: https://gerrit.libreoffice.org/34802
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 0238c58..4f922d2 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -501,7 +501,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
         Sequence< sal_Int8 > byteSequence;
         if( a >>= byteSequence )
         {
-            // byte sequence is treated in a special way because of peformance reasons
+            // byte sequence is treated in a special way because of performance reasons
             // @since 0.9.2
             return PyRef( PyUNO_ByteSequence_new( byteSequence, *this ), SAL_NO_ACQUIRE );
         }
diff --git a/qadevOOo/runner/helper/ContextMenuInterceptor.java b/qadevOOo/runner/helper/ContextMenuInterceptor.java
index be21ff7..e046286 100644
--- a/qadevOOo/runner/helper/ContextMenuInterceptor.java
+++ b/qadevOOo/runner/helper/ContextMenuInterceptor.java
@@ -62,14 +62,14 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
                 XIndexContainer.class,
                 xMenuElementFactory.createInstance("com.sun.star.ui.ActionTriggerContainer" ));
 
-                // intialize root menu entry "Help"
+                // initialize root menu entry "Help"
                 xRootMenuEntry.setPropertyValue( "Text", "Help" );
                 xRootMenuEntry.setPropertyValue( "CommandURL", "slot:5410" );
                 xRootMenuEntry.setPropertyValue( "HelpURL", "5410" );
                 xRootMenuEntry.setPropertyValue( "SubContainer", xSubMenuContainer );
 
                 // create menu entries for the new sub menu
-                // intialize help/content menu entry
+                // initialize help/content menu entry
                 // entry "Content"
                 XPropertySet xMenuEntry = UnoRuntime.queryInterface(
                         XPropertySet.class, xMenuElementFactory.createInstance(
@@ -81,7 +81,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
                 // insert menu entry to sub menu
                 xSubMenuContainer.insertByIndex( 0, xMenuEntry );
 
-                // intialize help/help on help
+                // initialize help/help on help
                 // entry "Help on Help"
                 xMenuEntry = UnoRuntime.queryInterface(
                         XPropertySet.class,
@@ -92,7 +92,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
 
                 // insert menu entry to sub menu
                 xSubMenuContainer.insertByIndex( 1, xMenuEntry );
-                // intialize help/tips
+                // initialize help/tips
                 // entry "Tips"
                 xMenuEntry = UnoRuntime.queryInterface(
                         XPropertySet.class,
diff --git a/qadevOOo/tests/java/ifc/awt/_XControl.java b/qadevOOo/tests/java/ifc/awt/_XControl.java
index 0f3c06a..ffb9bcb 100644
--- a/qadevOOo/tests/java/ifc/awt/_XControl.java
+++ b/qadevOOo/tests/java/ifc/awt/_XControl.java
@@ -171,7 +171,7 @@ public class _XControl extends MultiMethodTest {
 
     /**
     * Test calls the method. Then mode is checked using isDesignMode().<p>
-    * Has <b> OK </b> status if mode is swithed.
+    * Has <b> OK </b> status if mode is switched.
     */
     public void _setDesignMode() {
     desMode = oObj.isDesignMode();
diff --git a/qadevOOo/tests/java/ifc/lang/_XInitialization.java b/qadevOOo/tests/java/ifc/lang/_XInitialization.java
index ba2150b..5566aef 100644
--- a/qadevOOo/tests/java/ifc/lang/_XInitialization.java
+++ b/qadevOOo/tests/java/ifc/lang/_XInitialization.java
@@ -29,7 +29,7 @@ import com.sun.star.lang.XInitialization;
 * <ul>
 *  <li> <code>'XInitialization.args'</code> (of type <code>Object[]</code>):
 *   (<b>Optional</b>) : argument for <code>initialize</code>
-*   method. If ommitted zero length array is used. </li>
+*   method. If omitted zero length array is used. </li>
 * <ul> <p>
 * Test is multithread compliant. <p>
 * Till the present time there was no need to recreate environment
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java b/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java
index a7c2157..a05310c 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java
@@ -134,7 +134,7 @@ public class _XDataDefinitionSupplier extends MultiMethodTest {
     /**
      * Calls the method with url and info obtained from the relations
      * <code>XDriver.URL</code> and <code>XDriver.INFO</code>.
-     * Checks that retuned value isn't null.
+     * Checks that returned value isn't null.
      * Then calls the method with the unsuitable url obtained from the relation
      * <code>XDriver.UNSUITABLE_URL</code> and checks that SQLException
      * exception was thrown.
diff --git a/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java b/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java
index 719e857..084ab52 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java
@@ -41,7 +41,7 @@ public class _XPropertyMatcherFactory extends MultiMethodTest {
 
     /**
     * Tries to create <code>XPropertyMatcher</code> implementation. <p>
-    * Has <b>OK</b> status if not null alue returned.
+    * Has <b>OK</b> status if not null value returned.
     */
     public void _createPropertyMatcher() {
         RuleTerm term = new RuleTerm() ;
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
index 69d6a26..911b65a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewHeaderCell.java
@@ -112,7 +112,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
      * Creating a TestEnvironment for the interfaces to be tested.
      * Sets a value of the cell 'A1'. Sets the property 'PrintHeaders'
      * of the style 'Default' of the family 'PageStyles' to true.
-     * Switchs the document to preview mode and then obtains the
+     * Switch the document to preview mode and then obtains the
      * accessible object for the header cell.
      */
     @Override
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java
index aecb7c6..79d441d 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleDocumentPageView.java
@@ -49,7 +49,7 @@ public class SwAccessibleDocumentPageView extends TestCase {
     /**
     * Called to create an instance of <code>TestEnvironment</code>
     * with an object to test and related objects.
-    * Switchs the document to Print Preview mode.
+    * Switch the document to Print Preview mode.
     * Obtains accissible object for the document page view.
     *
     * @param Param test parameters
@@ -157,4 +157,4 @@ public class SwAccessibleDocumentPageView extends TestCase {
         log.println( "creating a text document" );
         xTextDoc = WriterTools.createTextDoc( Param.getMSF());
     }
-}
\ No newline at end of file
+}
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java
index 8d781ae..6c70a34 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java
@@ -116,7 +116,7 @@ public class SOReportJobFactory
                 throws com.sun.star.uno.Exception
         {
             /* The component describes what arguments its expected and in which
-             * order!At this point you can read the objects and can intialize
+             * order!At this point you can read the objects and can initialize
              * your component using these objects.
              */
         }
diff --git a/reportdesign/source/ui/inc/UITools.hxx b/reportdesign/source/ui/inc/UITools.hxx
index 4587542..5c6ce01 100644
--- a/reportdesign/source/ui/inc/UITools.hxx
+++ b/reportdesign/source/ui/inc/UITools.hxx
@@ -160,7 +160,7 @@ namespace rptui
     *
     * \param pControl           the control which should place in the section without overlapping
     * \param _pReportSection    the section
-    * \param _bInsert           sal_True whe the control should be inserted, otherwise not.
+    * \param _bInsert           sal_True when the control should be inserted, otherwise not.
     */
     void correctOverlapping(SdrObject* pControl,OReportSection& _aReportSection,bool _bInsert = true);
 
diff --git a/rsc/inc/rsctop.hxx b/rsc/inc/rsctop.hxx
index 2c7a98d..1a5afad 100644
--- a/rsc/inc/rsctop.hxx
+++ b/rsc/inc/rsctop.hxx
@@ -179,7 +179,7 @@ public:
                     // sets all default values
     virtual void    SetToDefault( const RSCINST & rInst );
 
-                    // wether input is equal to default
+                    // whether input is equal to default
     virtual bool    IsDefault( const RSCINST & rInst );
 
                     // sets value to default


More information about the Libreoffice-commits mailing list