[Libreoffice-commits] core.git: qadevOOo/tests registry/test ridljar/com sax/source sc/qa

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 09:37:07 UTC 2019


 qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java   |    2 +-
 qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java |    2 +-
 qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java     |    2 +-
 qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java     |    2 +-
 registry/test/testregcpp.cxx                              |    2 +-
 ridljar/com/sun/star/uno/Enum.java                        |    2 +-
 ridljar/com/sun/star/uno/UnoRuntime.java                  |    2 +-
 sax/source/expatwrap/saxwriter.cxx                        |    4 ++--
 sax/source/tools/fastserializer.hxx                       |    2 +-
 sc/qa/extras/check_xcell_ranges_query.cxx                 |    8 ++++----
 10 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 38719c3341bf4244fcaf835a3933c922e9153251
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 19:35:07 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 11:36:05 2019 +0200

    Fix typos
    
    Change-Id: Ia40e7a9031ae5a8385a84f177a9444f4d4f348b4
    Reviewed-on: https://gerrit.libreoffice.org/77302
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java
index c68079738bc1..24ee0035824f 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleFooterView.java
@@ -93,7 +93,7 @@ public class SwAccessibleFooterView extends TestCase {
         PropSet.setPropertyValue("FooterIsOn", Boolean.TRUE);
 
         //change zoom value to 10%
-        //footer should be in the vissible area of the document
+        //footer should be in the visible area of the document
         XController xController = xTextDoc.getCurrentController();
         XViewSettingsSupplier xViewSetSup = UnoRuntime.queryInterface(XViewSettingsSupplier.class,
         xController);
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java
index 29f36a6185ea..0899108a83d3 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleFootnoteView.java
@@ -85,7 +85,7 @@ public class SwAccessibleFootnoteView extends TestCase {
         XPropertySet xPropSet = xViewSetSup.getViewSettings();
 
         //change zoom value to 10%
-        //footer should be in the vissible area of the document
+        //footer should be in the visible area of the document
         xPropSet.setPropertyValue("ZoomValue", Short.valueOf("10"));
 
         XModel aModel = UnoRuntime.queryInterface(XModel.class, xTextDoc);
diff --git a/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java b/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
index eb132c78037b..edaa1aed98e4 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXAutoTextContainer.java
@@ -59,7 +59,7 @@ public class SwXAutoTextContainer extends TestCase {
 
         // creation of testobject here
         // first we write what we are intend to do to log file
-        log.println("creating a AutoTextContainer");
+        log.println("creating an AutoTextContainer");
         XMultiServiceFactory myMSF = Param.getMSF();
         Object oInst = myMSF.createInstance
             ("com.sun.star.text.AutoTextContainer");
diff --git a/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java b/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java
index 1d2d296d965e..c2dbba2d744f 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXEndnoteProperties.java
@@ -86,7 +86,7 @@ public class SwXEndnoteProperties extends TestCase {
 
         log.println( "Creating a test environment" );
         XMultiServiceFactory msf = UnoRuntime.queryInterface(XMultiServiceFactory.class, xTextDoc);
-        log.println("creating a endnote");
+        log.println("creating an endnote");
         oEndnote = UnoRuntime.queryInterface(XInterface.class,
                 msf.createInstance("com.sun.star.text.Endnote"));
 
diff --git a/registry/test/testregcpp.cxx b/registry/test/testregcpp.cxx
index fa038c19d4d6..064eb40137a2 100644
--- a/registry/test/testregcpp.cxx
+++ b/registry/test/testregcpp.cxx
@@ -152,7 +152,7 @@ void test_coreReflection()
 
             aReadConst = reader.getFieldConstValue(10);
             OString aConstStr = OUStringToOString(aConst.m_value.aString, RTL_TEXTENCODING_ASCII_US);
-            REG_ENSURE(aConstStr.equals("this is an unicode string"), "testCoreReflection error 9b");
+            REG_ENSURE(aConstStr.equals("this is a unicode string"), "testCoreReflection error 9b");
         }
 
     }
diff --git a/ridljar/com/sun/star/uno/Enum.java b/ridljar/com/sun/star/uno/Enum.java
index f18015d9558d..8bd50876dd9e 100644
--- a/ridljar/com/sun/star/uno/Enum.java
+++ b/ridljar/com/sun/star/uno/Enum.java
@@ -24,7 +24,7 @@ package com.sun.star.uno;
  * <p>
  * Each java mapped enum class provides static member of this class
  * which represents the enum values.
- * You cannot create a object of this class or subclass direct, to
+ * You cannot create an object of this class or subclass direct, to
  * avoid enum values with integer values outside the defined range.
  * </p>
  */
diff --git a/ridljar/com/sun/star/uno/UnoRuntime.java b/ridljar/com/sun/star/uno/UnoRuntime.java
index 9bd3528a69b5..1f011aa77050 100644
--- a/ridljar/com/sun/star/uno/UnoRuntime.java
+++ b/ridljar/com/sun/star/uno/UnoRuntime.java
@@ -99,7 +99,7 @@ public class UnoRuntime {
      * <p>This method is generally of little use for client code.  It should be
      * considered a mistake that this method is published at all.</p>
      *
-     * @param object any object for which a OID shall be generated; must not be
+     * @param object any object for which an OID shall be generated; must not be
      * <code>null</code>
      * @return the generated OID
      * @see com.sun.star.uno.IQueryInterface#getOid
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 321c87b2e28b..723031804dc2 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -121,7 +121,7 @@ public:
         , nCurrentPos(0)
         , m_bStartElementFinished(true)
     {
-        OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size to small");
+        OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size too small");
         mp_Sequence = m_Sequence.getArray();
     }
     ~SaxWriterHelper()
@@ -1154,7 +1154,7 @@ void SAXWriter::startElement(const OUString& aName, const Reference< XAttributeL
     if (eRet == SAX_WARNING)
     {
         SAXInvalidCharacterException except;
-        except.Message = "Invalid character during XML-Export in a attribute value";
+        except.Message = "Invalid character during XML-Export in an attribute value";
         throw except;
     }
     else if (eRet == SAX_ERROR)
diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx
index e3aa17a78f91..ba956610f533 100644
--- a/sax/source/tools/fastserializer.hxx
+++ b/sax/source/tools/fastserializer.hxx
@@ -82,7 +82,7 @@ public:
     */
     void startFastElement( ::sal_Int32 Element, FastAttributeList const * pAttrList = nullptr );
 
-    /** receives notification of the end of an known element.
+    /** receives notification of the end of a known element.
         @see startFastElement
      */
     void endFastElement( ::sal_Int32 Element );
diff --git a/sc/qa/extras/check_xcell_ranges_query.cxx b/sc/qa/extras/check_xcell_ranges_query.cxx
index c5ebef7ef4e9..2270b356cc34 100644
--- a/sc/qa/extras/check_xcell_ranges_query.cxx
+++ b/sc/qa/extras/check_xcell_ranges_query.cxx
@@ -106,9 +106,9 @@ void CheckXCellRangesQuery::checkEmptyCell()
 /**
  * Perform some tests on a filled cell:
  * <ol>
- * <li>compare an cell with value 5 with a cell with value 15 in the same
+ * <li>compare a cell with value 5 with a cell with value 15 in the same
  * column</li>
- * <li>compare an cell with value 5 with a cell with value 15 in the same
+ * <li>compare a cell with value 5 with a cell with value 15 in the same
  * row</li>
  * <li>query for an empty cell.</li>
  * <ol>
@@ -120,9 +120,9 @@ void CheckXCellRangesQuery::checkFilledCell()
     // fill the cell with a value
     xSpreadSheet->getCellByPosition(2, 3)->setValue(15);
 
-    // compare an cell with value 5 with a cell with value 15
+    // compare a cell with value 5 with a cell with value 15
     _queryColumnDifferences(sSheetName + ".C4");
-    // compare an cell with value 5 with a cell with value 15
+    // compare a cell with value 5 with a cell with value 15
     _queryRowDifferences(sSheetName + ".C4");
     // try to get nothing
     _queryEmptyCells("");


More information about the Libreoffice-commits mailing list