[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - include/LibreOfficeKit

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 26 08:44:39 UTC 2019


 include/LibreOfficeKit/LibreOfficeKit.hxx    |   10 +++++-----
 include/LibreOfficeKit/LibreOfficeKitEnums.h |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 7651596e8c4a4a702bd0bac665028c32b21b8e8a
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Nov 26 09:43:38 2019 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Nov 26 09:43:38 2019 +0100

    typo fixes of LOKit headers from online/master
    
    Change-Id: Ie02fdef1ed8b0a62052cf7ab32fe91de55c03635

diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index ae33692b5ca5..3b2d0ba7b2da 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -314,7 +314,7 @@ public:
     }
 
     /**
-     * Posts a UNO command to the document.
+     * Posts an UNO command to the document.
      *
      * Example argument string:
      *
@@ -447,7 +447,7 @@ public:
     /**
      * Returns a json mapping of the possible values for the given command
      * e.g. {commandName: ".uno:StyleApply", commandValues: {"familyName1" : ["list of style names in the family1"], etc.}}
-     * @param pCommand a uno command for which the possible values are requested
+     * @param pCommand a UNO command for which the possible values are requested
      * @return {commandName: unoCmd, commandValues: {possible_values}}
      */
     char* getCommandValues(const char* pCommand)
@@ -557,7 +557,7 @@ public:
                           const char *pChar,
                           int *pFontWidth,
                           int *pFontHeight,
-                          int pOrientation=0)
+                          int pOrientation = 0)
     {
         if (LIBREOFFICEKIT_DOCUMENT_HAS(mpDoc, renderFontOrientation))
             return mpDoc->pClass->renderFontOrientation(mpDoc, pFontName, pChar, pFontWidth, pFontHeight, pOrientation);
@@ -691,7 +691,7 @@ public:
     /**
      * Gets an image of the selected shapes.
      * @param pOutput contains the result; use free to deallocate.
-     * @return the size ouf *pOutput in bytes.
+     * @return the size of *pOutput in bytes.
      */
     size_t renderShapeSelection(char** pOutput)
     {
@@ -777,7 +777,7 @@ public:
     }
 
     /**
-     * Loads a document from an URL.
+     * Loads a document from a URL.
      *
      * @param pUrl the URL of the document to load
      * @param pFilterOptions options for the import filter, e.g. SkipImages.
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index a564d140efdb..7ef3a3884e92 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -180,7 +180,7 @@ typedef enum
     /**
      * The size and/or the position of the graphic selection changed,
      * the rotation angle of the embedded graphic object, and a property list
-     * which can be used for informing the client about severl properties.
+     * which can be used for informing the client about several properties.
      *
      * Format is "x, y, width, height, angle, { list of properties }",
      * where angle is in 100th of degree, and the property list is optional.
@@ -211,7 +211,7 @@ typedef enum
      *      }
      *
      *      where the "svg" property is a string containing an svg document
-     *      which is a rapresentation of the pie segment.
+     *      which is a representation of the pie segment.
      */
     LOK_CALLBACK_GRAPHIC_SELECTION = 6,
 


More information about the Libreoffice-commits mailing list