[Libreoffice-commits] core.git: comphelper/source filter/source framework/source include/comphelper include/registry include/ucbhelper odk/examples offapi/com reportbuilder/java sw/source

Jens Carl (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 3 06:54:39 UTC 2019


 comphelper/source/property/MasterPropertySet.cxx                                      |    2 +-
 filter/source/xslt/odf2xhtml/export/xhtml/body.xsl                                    |    2 +-
 framework/source/fwe/classes/addonsoptions.cxx                                        |    2 +-
 framework/source/services/autorecovery.cxx                                            |    2 +-
 framework/source/services/frame.cxx                                                   |    4 ++--
 include/comphelper/numberedcollection.hxx                                             |    4 ++--
 include/registry/refltype.hxx                                                         |    2 +-
 include/ucbhelper/interceptedinteraction.hxx                                          |    2 +-
 odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java                |    2 +-
 odk/examples/DevelopersGuide/Drawing/DrawingDemo.java                                 |    2 +-
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java         |    4 ++--
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java            |    2 +-
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java         |    2 +-
 offapi/com/sun/star/awt/XSimpleTabController.idl                                      |    4 ++--
 offapi/com/sun/star/frame/XModuleManager2.idl                                         |    2 +-
 offapi/com/sun/star/smarttags/XSmartTagAction.idl                                     |    2 +-
 offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl                           |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java |    2 +-
 sw/source/filter/ww8/docxsdrexport.cxx                                                |    2 +-
 19 files changed, 23 insertions(+), 23 deletions(-)

New commits:
commit 68dd147bd3eb33fc74590113e7082d00119e733e
Author:     Jens Carl <j.carl43 at gmx.de>
AuthorDate: Wed Apr 3 02:00:14 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Apr 3 08:54:15 2019 +0200

    Fix typos
    
    Change indefinite article "an" to "a" before
    the word unique and some variants.
    
    Change-Id: Ia14a6f3b9ec6b257ad8bed3b089faa9b6f07d44f
    Reviewed-on: https://gerrit.libreoffice.org/70174
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index f379276a0e66..3c339ef6d6f0 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -255,7 +255,7 @@ Sequence< Any > SAL_CALL MasterPropertySet::getPropertyValues( const Sequence< O
         const OUString * pString = aPropertyNames.getConstArray();
         PropertyDataHash::const_iterator aEnd = mxInfo->maMap.end(), aIter;
 
-        //!! have an unique_ptr to an array of OGuards in order to have the
+        //!! have a unique_ptr to an array of OGuards in order to have the
         //!! allocated memory properly freed (exception safe!).
         //!! Since the array itself has unique_ptrs as members we have to use a
         //!! helper class 'AutoOGuardArray' in order to have
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index c21840e1689e..541417b2f36e 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -1224,7 +1224,7 @@
         <xsl:choose>
             <xsl:when test="$globalData/office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:outline-level]/@style:num-format != '' and not(@text:is-list-header='true')">
 
-                <!-- Every heading element will get an unique anchor for its file, from its hierarchy level and name:
+                <!-- Every heading element will get a unique anchor for its file, from its hierarchy level and name:
                      For example:  The heading title 'My favorite heading' might get <a name="1_2_2_My_favorite_heading" /> -->
                 <!-- creating an anchor for referencing the heading (e.g. from content table) -->
                 <xsl:variable name="headingNumber">
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx
index 6652b1972ca5..a9822bc3f110 100644
--- a/framework/source/fwe/classes/addonsoptions.cxx
+++ b/framework/source/fwe/classes/addonsoptions.cxx
@@ -760,7 +760,7 @@ void AddonsOptions_Impl::ReadImages( ImageManager& aImageManager )
 
 OUString AddonsOptions_Impl::GeneratePrefixURL()
 {
-    // Create an unique prefixed Add-On popup menu URL so it can be identified later as a runtime popup menu.
+    // Create a unique prefixed Add-On popup menu URL so it can be identified later as a runtime popup menu.
     // They use a different image manager, so they must be identified by the sfx2/framework code.
     OUString aPopupMenuURL;
     OUStringBuffer aBuf( m_aRootAddonPopupMenuURLPrexfix.getLength() + 3 );
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 778a9228d4d7..c3c7735afeaf 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -3420,7 +3420,7 @@ void AutoRecovery::implts_generateNewTempURL(const OUString&               sBack
                                                    AutoRecovery::TDocumentInfo&   rInfo           )
 {
     // specify URL for saving (which points to a temp file inside backup directory)
-    // and define an unique name, so we can locate it later.
+    // and define a unique name, so we can locate it later.
     // This unique name must solve an optimization problem too!
     // In case we are asked to save unmodified documents too - and one of them
     // is an empty one (because it was new created using e.g. an URL private:factory/...)
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 3d1e844e9516..76673d41718f 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2725,7 +2725,7 @@ void XFrameImpl::impl_setPropertyValue(sal_Int32 nHandle,
     */
 
     /* Attention: You can use nHandle only, if you are sure that all supported
-                  properties has an unique handle. That must be guaranteed
+                  properties has a unique handle. That must be guaranteed
                   inside method initListeners()!
     */
     switch (nHandle)
@@ -2780,7 +2780,7 @@ css::uno::Any XFrameImpl::impl_getPropertyValue(sal_Int32 nHandle)
     */
 
     /* Attention: You can use nHandle only, if you are sure that all supported
-                  properties has an unique handle. That must be guaranteed
+                  properties has a unique handle. That must be guaranteed
                   inside method initListeners()!
     */
     css::uno::Any aValue;
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx
index e2d9a24d4db7..06cfaa1c08d2 100644
--- a/include/comphelper/numberedcollection.hxx
+++ b/include/comphelper/numberedcollection.hxx
@@ -124,7 +124,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
     private:
 
 
-        /** @short  tries to find an unique number not already used within this collection.
+        /** @short  tries to find a unique number not already used within this collection.
 
             @descr  It reuses the smallest number which isn't used by any component
                     of this collection. (fragmentation!) If collection is full (means there
@@ -138,7 +138,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
                     So the outside code has to make sure that retrieving and using of those numbers
                     will be an atomic operation.
 
-            @return an unique number or special value INVALID_NUMBER if collection is full.
+            @return a unique number or special value INVALID_NUMBER if collection is full.
          */
         ::sal_Int32 impl_searchFreeNumber ();
 
diff --git a/include/registry/refltype.hxx b/include/registry/refltype.hxx
index 5380a0de46bf..4924edf77178 100644
--- a/include/registry/refltype.hxx
+++ b/include/registry/refltype.hxx
@@ -57,7 +57,7 @@ public:
 
 /** deprecated.
 
-    An earlier version of UNO used an unique identifier for interfaces. In the
+    An earlier version of UNO used a unique identifier for interfaces. In the
     current version of UNO this uik was eliminated and this type is no longer used.
  */
 struct RTUik
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index 56e29c9cecd1..5b5771772ef3 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -64,7 +64,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
             css::uno::Type Continuation;
 
 
-            /** @short  it's an unique identifier, which must be managed by the outside code.
+            /** @short  it's a unique identifier, which must be managed by the outside code.
 
                 @descr  If there is a derived class, which overwrites the InterceptedInteraction::intercepted()
                         method, it will be called with a reference to an InterceptedRequest struct.
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index f5ef2a97088c..9b55929d870a 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -56,7 +56,7 @@ public class AsyncJob extends    WeakBase implements XServiceInfo, XAsyncJob
     public static final String[] SERVICENAMES = {"com.sun.star.task.AsyncJob"};
 
     /** the const uno implementation name.
-     *  It must be an unique value! The best naming schema seems to use
+     *  It must be a unique value! The best naming schema seems to use
      *  a registered domain in reverse order ...
      */
     public static final String IMPLEMENTATIONNAME = "com.sun.star.comp.framework.java.services.AsyncJob";
diff --git a/odk/examples/DevelopersGuide/Drawing/DrawingDemo.java b/odk/examples/DevelopersGuide/Drawing/DrawingDemo.java
index b8b5ef321604..f71197cf6d61 100644
--- a/odk/examples/DevelopersGuide/Drawing/DrawingDemo.java
+++ b/odk/examples/DevelopersGuide/Drawing/DrawingDemo.java
@@ -170,7 +170,7 @@ public class DrawingDemo
             XNamed xNamed = UnoRuntime.queryInterface(
                 XNamed.class, xLastPage );
 
-            // beware, the page must have an unique name
+            // beware, the page must have a unique name
             xNamed.setName( sLastPageName );
         }
         catch( Exception ex )
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index e50686c38cf6..030c8f9b6ede 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -806,12 +806,12 @@ public class FunctionHelper
 
 
     /**
-     * Try to find an unique frame name, which isn't currently used inside
+     * Try to find a unique frame name, which isn't currently used inside
      * remote office instance. Because we create top level frames
      * only, it's enough to check the names of existing child frames on the
      * desktop only.
      *
-     *          should represent an unique frame name, which currently isn't
+     *          should represent a unique frame name, which currently isn't
      *          used inside the remote office frame tree
      *          (Couldn't guaranteed for a real multithreaded environment.
      *           But we try it ...)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
index f8c1fdb39b1f..c6732155d2dc 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
@@ -53,7 +53,7 @@ public interface IOnewayLink
 
     /**
      * @param nRequest
-     *          The two user of this callback can define an unique number,
+     *          The two user of this callback can define a unique number,
      *          which identify the type of original interface method. So the called
      *          interface object can decide, which action will be necessary.
      *
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
index 660f9f360ba6..a86ff31defc1 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
@@ -88,7 +88,7 @@ class OnewayExecutor extends Thread
      * and parameters of the original request.
      *
      * @param nRequest
-     *          The two user of this callback can define an unique number,
+     *          The two user of this callback can define a unique number,
      *          which identify the type of original interface method.
      *          So the called interface object can decide, which action will be
      *          necessary.
diff --git a/offapi/com/sun/star/awt/XSimpleTabController.idl b/offapi/com/sun/star/awt/XSimpleTabController.idl
index 5ed9672ff115..189e358292c3 100644
--- a/offapi/com/sun/star/awt/XSimpleTabController.idl
+++ b/offapi/com/sun/star/awt/XSimpleTabController.idl
@@ -33,12 +33,12 @@
  */
 interface XSimpleTabController : com::sun::star::uno::XInterface
 {
-    /** create a new tab and return an unique ID,
+    /** create a new tab and return a unique ID,
         which can be used further to address this tab by using other methods
         of this interface.
 
         @return [long
-                an unique ID for this new tab.
+                a unique ID for this new tab.
      */
     long insertTab();
 
diff --git a/offapi/com/sun/star/frame/XModuleManager2.idl b/offapi/com/sun/star/frame/XModuleManager2.idl
index 268007d520e1..91e6ed6b489f 100644
--- a/offapi/com/sun/star/frame/XModuleManager2.idl
+++ b/offapi/com/sun/star/frame/XModuleManager2.idl
@@ -40,7 +40,7 @@ interface XModuleManager2
     /** provides read access to the configuration of office modules.
 
         <p>
-        Every module is referenced by an unique service name
+        Every module is referenced by a unique service name
         (which is used inside configuration as set node name too)
         and is further represented by a sequence of elements of type
         com::sun::star::beans::PropertyValue.
diff --git a/offapi/com/sun/star/smarttags/XSmartTagAction.idl b/offapi/com/sun/star/smarttags/XSmartTagAction.idl
index cf0537d60be4..9a94844baab2 100644
--- a/offapi/com/sun/star/smarttags/XSmartTagAction.idl
+++ b/offapi/com/sun/star/smarttags/XSmartTagAction.idl
@@ -76,7 +76,7 @@ interface XSmartTagAction: com::sun::star::lang::XInitialization
                 (exclusively).
 
         @return
-                an unique name of the smart tag type. Smart tag  type
+                a unique name of the smart tag type. Smart tag  type
                 names are always in the format of namespaceURI#tagname.
 
         @throws com::sun::star::lang::IndexOutOfBoundsException
diff --git a/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl b/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
index 38d9ad3c548e..f93a61749a1a 100644
--- a/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
+++ b/offapi/com/sun/star/text/XFlatParagraphIteratorProvider.idl
@@ -27,7 +27,7 @@
 //---------------------------------------Note----------------------------------
 //    allows for different iterators for grammar checking and smart tags,
 //    interface must be implemented exactly once for each document since
-//    the interface pointer will be used to get an unique document id.
+//    the interface pointer will be used to get a unique document id.
 
 
 module com {  module sun {  module star {  module text {
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java
index 6b2f54fb37bc..14def5e753ad 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java
@@ -32,7 +32,7 @@ import org.xml.sax.SAXException;
 
 /**
  * Parses a named expression. These expressions are encountered on reports and
- * groups and compute global values. Expressions must have an unique name.
+ * groups and compute global values. Expressions must have a unique name.
  *
  */
 public class FunctionReadHandler extends AbstractXmlReadHandler
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 59b8961549e9..5f5cfe9ceb39 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -1251,7 +1251,7 @@ void DocxSdrExport::writeDiagram(const SdrObject* sdrObject, const SwFrameFormat
     Size aSize(sdrObject->GetSnapRect().GetWidth(), sdrObject->GetSnapRect().GetHeight());
     startDMLAnchorInline(&rFrameFormat, aSize);
 
-    // generate an unique id
+    // generate a unique id
     sax_fastparser::FastAttributeList* pDocPrAttrList
         = sax_fastparser::FastSerializerHelper::createAttrList();
     pDocPrAttrList->add(XML_id, OString::number(nAnchorId).getStr());


More information about the Libreoffice-commits mailing list