[Libreoffice-commits] core.git: chart2/source odk/examples qadevOOo/tests sc/qa svtools/source svx/source

Andrea Gelmini andrea.gelmini at gelma.net
Wed May 2 05:59:37 UTC 2018


 chart2/source/tools/ChartTypeHelper.cxx                                      |    2 +-
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java |    8 ++++----
 qadevOOo/tests/java/ifc/i18n/_XTransliteration.java                          |    4 ++--
 qadevOOo/tests/java/ifc/text/_XDocumentIndex.java                            |    2 +-
 qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java                    |    2 +-
 qadevOOo/tests/java/ifc/util/_XURLTransformer.java                           |    4 ++--
 sc/qa/complex/dataPilot/_XDataPilotDescriptor.java                           |    2 +-
 svtools/source/control/fmtfield.cxx                                          |    2 +-
 svx/source/svdraw/svdobj.cxx                                                 |    2 +-
 9 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 73414e3fe8d8cede2c4bc3bc605618873db003c4
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sun Apr 29 15:16:37 2018 +0200

    Fix typos
    
    Change-Id: I56bd1a7ac204f4302261e46d0b8c5dd62c4b6df9
    Reviewed-on: https://gerrit.libreoffice.org/53624
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Bartosz Kosiorek <gang65 at poczta.onet.pl>

diff --git a/chart2/source/tools/ChartTypeHelper.cxx b/chart2/source/tools/ChartTypeHelper.cxx
index d917d0e30516..23aa42efed73 100644
--- a/chart2/source/tools/ChartTypeHelper.cxx
+++ b/chart2/source/tools/ChartTypeHelper.cxx
@@ -514,7 +514,7 @@ drawing::Direction3D ChartTypeHelper::getDefaultRealisticLightDirection( const u
 sal_Int32 ChartTypeHelper::getAxisType( const uno::Reference<
             XChartType >& xChartType, sal_Int32 nDimensionIndex )
 {
-    //retruned is a constant from constant group css::chart2::AxisType
+    //returned is a constant from constant group css::chart2::AxisType
 
     //@todo ask charttype itself --> need model change first
     if(!xChartType.is())
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index 0678ee009f1d..3ff97d1402e9 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -139,7 +139,7 @@ public class CustomizeView extends    JPanel
             return;
 
         // be listener for click events
-        // They will toogle the UI controls.
+        // They will toggle the UI controls.
         ClickListener aMenuBarHandler   = new ClickListener(FEATUREURL_MENUBAR  ,FEATUREPROP_MENUBAR  ,xFrame);
         ClickListener aToolBarHandler   = new ClickListener(FEATUREURL_TOOLBAR  ,FEATUREPROP_TOOLBAR  ,xFrame);
         ClickListener aObjectBarHandler = new ClickListener(FEATUREURL_OBJECTBAR,FEATUREPROP_OBJECTBAR,xFrame);
@@ -165,7 +165,7 @@ public class CustomizeView extends    JPanel
     /*
      * react for click events of the used check boxes
      * We use our internal set dispatch objects to
-     * call it. This calls toogle the menu/object- or toolbar.
+     * call it. This calls toggle the menu/object- or toolbar.
      * Note: Because we are listener status events too - hopefully
      * we get a notification, if toggling was successfully or not.
      * We use this information to update our check boxes again.
@@ -175,7 +175,7 @@ public class CustomizeView extends    JPanel
     private class ClickListener implements ActionListener,
                                    com.sun.star.lang.XEventListener
     {
-        /// URL, to toogle the requested UI item
+        /// URL, to toggle the requested UI item
         private final String m_sURL;
         /// name of the property which must be used in combination with the URL
         private final String m_sProp;
@@ -208,7 +208,7 @@ public class CustomizeView extends    JPanel
          *
          * @param aEvent
          *          describes the check box and its state
-         *          we can use to toogle the requested office
+         *          we can use to toggle the requested office
          *          resource.
          */
         public void actionPerformed(ActionEvent aEvent)
diff --git a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
index 5d8cce2393e8..521a111d0596 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
@@ -310,7 +310,7 @@ public class _XTransliteration extends MultiMethodTest {
     /**
      * Performs tesing of two substrings. Also testing of opposite
      * substrings order performed.
-     * @return <code>true</code> if substrings are equal and retruned
+     * @return <code>true</code> if substrings are equal and returned
      * value is 0 for both orders,
      * if substrings are different and expected value
      * returned for direct order and opposite value returned for
@@ -392,7 +392,7 @@ public class _XTransliteration extends MultiMethodTest {
      * Performs tesing of two strings. If the expected value is not 0
      * (i.e. strings are not equal), then also testing of opposite
      * strings order performed.
-     * @return <code>true</code> if strings are equal and retruned
+     * @return <code>true</code> if strings are equal and returned
      * value is 0, if strings are different and expected value
      * returned for direct order and opposite value returned for
      * opposite order.
diff --git a/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java b/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java
index dd7470967b92..861dbd681787 100644
--- a/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java
+++ b/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java
@@ -51,7 +51,7 @@ public class _XDocumentIndex extends MultiMethodTest {
 
     /**
      * Test calls the method. <p>
-     * Has <b> OK </b> status if the retruned service name
+     * Has <b> OK </b> status if the returned service name
      * is equal to 'com.sun.star.text.DocumentIndex'.
      */
     public void _getServiceName() {
diff --git a/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java b/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
index 3242c1071704..0207c3c77a9e 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
@@ -234,7 +234,7 @@ public class _XContentProviderManager extends MultiMethodTest {
      * At first one provider is deregistered, after that provider
      * is queried, the second provider must be returned for the
      * specified scheme. Then the second provider is deregistered.
-     * Now <code>null</code> value must be retruned by the method
+     * Now <code>null</code> value must be returned by the method
      * <code>queryContentProvider</code> on the specified scheme. <p>
      *
      * Has <b>OK</b> status if in the first case the second provider
diff --git a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
index ee4e4c0ceec6..9ce968cdf1ba 100644
--- a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
+++ b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
@@ -61,7 +61,7 @@ public class _XURLTransformer extends MultiMethodTest {
      * passed and assembled. Then incomplete URL (only
      * <code>Server</code> field is set) is passed. <p>
      * Has <b> OK </b> status if in the first case <code>true</code>
-     * retruned and <code>Complete</code> field is set and in the
+     * returned and <code>Complete</code> field is set and in the
      * second case <code>false</code> is returned. <p>
      */
     public void _assemble(){
@@ -133,7 +133,7 @@ public class _XURLTransformer extends MultiMethodTest {
      * to proper URL) is passed and parsed. Then incomplete URL (only
      * <code>Server</code> field is set) is passed. <p>
      * Has <b> OK </b> status if in the first case <code>true</code>
-     * retruned and all URL fields are set to proper values and in the
+     * returned and all URL fields are set to proper values and in the
      * second case <code>false</code> is returned. <p>
      */
     public void _parseStrict() {
diff --git a/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java b/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java
index fbb412c26104..b75267439e29 100644
--- a/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java
+++ b/sc/qa/complex/dataPilot/_XDataPilotDescriptor.java
@@ -371,7 +371,7 @@ public class _XDataPilotDescriptor {
         String name = null;
 
         if (IA == null) {
-            System.out.println("Null retruned.") ;
+            System.out.println("Null returned.") ;
             return false ;
         }
 
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 20770f95569b..d966e0850136 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -484,7 +484,7 @@ void FormattedField::ImplSetTextImpl(const OUString& rNew, Selection const * pNe
         sal_Int32 nCurrentLen = GetText().getLength();
 
         if ((nNewLen > nCurrentLen) && (aSel.Max() == nCurrentLen))
-        {   // new new text is longer and the cursor is behind the last char
+        {   // new text is longer and the cursor is behind the last char
             if (aSel.Min() == 0)
             {   // the whole text was selected -> select the new text on the whole, too
                 aSel.Max() = nNewLen;
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 2444bc0222bf..83b627998226 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -425,7 +425,7 @@ void SdrObject::SetPage(SdrPage* pNewPage)
     pPage = pNewPage;
 
     // TTTT Possibility here to add a warning for the future -> SdrModel
-    // of SdrObject (this) and SdrPage it it added to *have* to have the
+    // of SdrObject (this) and SdrPage. It is added to *have* the
     // same SdrModel
     // if(nullptr != pPage)
     // {


More information about the Libreoffice-commits mailing list