[Libreoffice-commits] core.git: include/rtl offapi/com sal/osl sc/inc svtools/source xmloff/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 24 21:37:41 UTC 2019


 include/rtl/uri.h                                   |    2 +-
 offapi/com/sun/star/rdf/URI.idl                     |    8 ++++----
 offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl |    4 ++--
 offapi/com/sun/star/rdf/XLiteral.idl                |    2 +-
 offapi/com/sun/star/rdf/XURI.idl                    |    6 +++---
 sal/osl/unx/file_url.cxx                            |    2 +-
 sc/inc/externalrefmgr.hxx                           |    4 ++--
 svtools/source/svhtml/htmlkywd.cxx                  |    2 +-
 xmloff/source/transform/AttrTransformerAction.hxx   |    4 ++--
 9 files changed, 17 insertions(+), 17 deletions(-)

New commits:
commit 6131288f2a85d43ba21210e677648c9245793e52
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Jul 23 22:25:57 2019 +0200
Commit:     Andrea Gelmini <andrea.gelmini at gelma.net>
CommitDate: Wed Jul 24 23:36:21 2019 +0200

    Fix typo
    
    "an URI", to complete:
    https://gerrit.libreoffice.org/#/c/75985/
    
    Change-Id: I57489b05117fd12ae6aa22544437ab5bc6b5154f
    Reviewed-on: https://gerrit.libreoffice.org/76037
    Tested-by: Jenkins
    Reviewed-by: Andrea Gelmini <andrea.gelmini at gelma.net>

diff --git a/include/rtl/uri.h b/include/rtl/uri.h
index af472dae4d52..3b134fbb80af 100644
--- a/include/rtl/uri.h
+++ b/include/rtl/uri.h
@@ -309,7 +309,7 @@ SAL_DLLPUBLIC void SAL_CALL rtl_uriDecode(
     signaled.
 
     @param pRelUriRef
-    An URI reference that may be either absolute or relative.  If it is
+    A URI reference that may be either absolute or relative.  If it is
     absolute, it will be returned unmodified.
 
     @param pResult
diff --git a/offapi/com/sun/star/rdf/URI.idl b/offapi/com/sun/star/rdf/URI.idl
index b057e42660d6..dbdbc2248227 100644
--- a/offapi/com/sun/star/rdf/URI.idl
+++ b/offapi/com/sun/star/rdf/URI.idl
@@ -27,7 +27,7 @@
 
 module com {   module sun {   module star {   module rdf {
 
-/** represents an URI node that may occur in a RDF graph.
+/** represents a URI node that may occur in a RDF graph.
 
     @since OOo 3.0
 
@@ -36,7 +36,7 @@ module com {   module sun {   module star {   module rdf {
 service URI : XURI
 {
 
-    /** creates an URI RDF node.
+    /** creates a URI RDF node.
 
         @param Value
             the URI, represented as `string`.
@@ -47,7 +47,7 @@ service URI : XURI
     create( [in] string Value )
         raises( com::sun::star::lang::IllegalArgumentException );
 
-    /** creates an URI RDF node from namespace prefix and local name.
+    /** creates a URI RDF node from namespace prefix and local name.
 
         @param Namespace
             the namespace prefix of the URI, represented as
@@ -62,7 +62,7 @@ service URI : XURI
     createNS( [in] string Namespace, [in] string LocalName )
         raises( com::sun::star::lang::IllegalArgumentException );
 
-    /** creates an URI RDF node for a well-known URI.
+    /** creates a URI RDF node for a well-known URI.
 
         @param Id
             the URI, represented as a constant from URIs.
diff --git a/offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl b/offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl
index 8760322ddbe1..b7d143555feb 100644
--- a/offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl
+++ b/offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl
@@ -77,10 +77,10 @@ interface XDocumentMetadataAccess
     XMetadatable getElementByMetadataReference(
         [in] com::sun::star::beans::StringPair MetadataReference);
 
-    /** get the ODF element that corresponds to an URI.
+    /** get the ODF element that corresponds to a URI.
 
         @param URI
-            an URI that may identify an ODF element
+            a URI that may identify an ODF element
 
         @returns
             the ODF element that corresponds to the given URI, or `NULL`
diff --git a/offapi/com/sun/star/rdf/XLiteral.idl b/offapi/com/sun/star/rdf/XLiteral.idl
index de67596b35d1..7366d021fe7f 100644
--- a/offapi/com/sun/star/rdf/XLiteral.idl
+++ b/offapi/com/sun/star/rdf/XLiteral.idl
@@ -33,7 +33,7 @@ module com {   module sun {   module star {   module rdf {
     <ul>
     <li>just a string Value</li>
     <li>Value and Language</li>
-    <li>typed literal: Value and Datatype (represented by an URI)</li>
+    <li>typed literal: Value and Datatype (represented by a URI)</li>
     </ul>
     Note that there is no literal with both Language and Datatype.
     </p>
diff --git a/offapi/com/sun/star/rdf/XURI.idl b/offapi/com/sun/star/rdf/XURI.idl
index 1d08b9cfeb45..5386186d9ede 100644
--- a/offapi/com/sun/star/rdf/XURI.idl
+++ b/offapi/com/sun/star/rdf/XURI.idl
@@ -26,7 +26,7 @@
 
 module com {   module sun {   module star {   module rdf {
 
-/** represents an URI node that may occur in a RDF graph.
+/** represents a URI node that may occur in a RDF graph.
 
     <p>
     Note that this is actually an IRI, but the RDF literature speaks of URIs
@@ -41,8 +41,8 @@ module com {   module sun {   module star {   module rdf {
     <li>after the last occurrence of the path separator: "/"</li>
     <li>after the last occurrence of the scheme separator: ":"</li>
     </ol>
-    An URI without a ":" is invalid.
-    This implies that the Namespace part of an URI must not be empty, while
+    A URI without a ":" is invalid.
+    This implies that the Namespace part of a URI must not be empty, while
     the LocalName part may be empty.
     </p>
 
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index 20e40cb444c1..af79767cca3b 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -58,7 +58,7 @@
  (RFC2396) may be handled platform independent, but
  will not in osl which is considered wrong.
  Future version of osl should handle File URLs this
- way. In rtl/uri there is already an URI parser etc.
+ way. In rtl/uri there is already a URI parser etc.
  so this code should be consolidated.
 
 */
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index 087e05570a5d..7bd670f7cddd 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -588,12 +588,12 @@ public:
     /**
      * It returns a pointer to the name of the URI associated with a given
      * external file ID.  In case the original document has moved, it returns
-     * an URI adjusted for the relocation.
+     * a URI adjusted for the relocation.
      *
      * @param nFileId file ID for an external document
      * @param bForceOriginal If true, it always returns the original document
      *                       URI even if the referring document has relocated.
-     *                       If false, it returns an URI adjusted for
+     *                       If false, it returns a URI adjusted for
      *                       relocated document.
      *
      * @return const OUString* external document URI.
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx
index 92bcb9e9bce6..31c4eea7152d 100644
--- a/svtools/source/svhtml/htmlkywd.cxx
+++ b/svtools/source/svhtml/htmlkywd.cxx
@@ -524,7 +524,7 @@ static HTML_OptionEntry aHTMLOptionTab[] = {
     {OUStringLiteral(OOO_STRING_SVTOOLS_HTML_O_target),        HtmlOptionId::TARGET}, // Netscape 2.0
     {OUStringLiteral(OOO_STRING_SVTOOLS_HTML_O_to),            HtmlOptionId::TO},
 
-// Attributes with an URI value
+// Attributes with a URI value
     {OUStringLiteral(OOO_STRING_SVTOOLS_HTML_O_action),        HtmlOptionId::ACTION},
     {OUStringLiteral(OOO_STRING_SVTOOLS_HTML_O_archive),       HtmlOptionId::ARCHIVE},
     {OUStringLiteral(OOO_STRING_SVTOOLS_HTML_O_background),    HtmlOptionId::BACKGROUND},
diff --git a/xmloff/source/transform/AttrTransformerAction.hxx b/xmloff/source/transform/AttrTransformerAction.hxx
index 8fbb2548a3cb..70b3537a6de1 100644
--- a/xmloff/source/transform/AttrTransformerAction.hxx
+++ b/xmloff/source/transform/AttrTransformerAction.hxx
@@ -93,9 +93,9 @@ enum XMLAttrTransformerAction
     XML_ATACTION_MACRO_NAME,
     XML_ATACTION_MACRO_LOCATION,
     XML_ATACTION_DLG_BORDER,
-    XML_ATACTION_URI_OOO,                // an URI in OOo notation
+    XML_ATACTION_URI_OOO,                // a URI in OOo notation
                                          // - param1: pacakage URI are supported
-    XML_ATACTION_URI_OASIS,              // an URI in OASIS notation
+    XML_ATACTION_URI_OASIS,              // a URI in OASIS notation
                                          // - param1: pacakage URI are supported
     XML_ATACTION_RENAME_ATTRIBUTE,       // rename up to 3 different possible values of an attribute
                                          // - param1: token of old attribute value (lower 16 bit)


More information about the Libreoffice-commits mailing list