[Libreoffice-commits] core.git: include/jvmfwk include/o3tl include/oox include/osl include/registry include/rtl include/sal include/sfx2

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 10:49:33 UTC 2017


 include/jvmfwk/framework.hxx    |    4 ++--
 include/o3tl/any.hxx            |    2 +-
 include/o3tl/strong_int.hxx     |    4 ++--
 include/oox/dump/dumperbase.hxx |    2 +-
 include/osl/file.h              |    6 +++---
 include/osl/security_decl.hxx   |    2 +-
 include/osl/socket.h            |    2 +-
 include/osl/socket_decl.hxx     |    4 ++--
 include/registry/registry.hxx   |    2 +-
 include/registry/types.hxx      |    2 +-
 include/rtl/bootstrap.h         |    2 +-
 include/rtl/byteseq.h           |    4 ++--
 include/rtl/locale.h            |    2 +-
 include/sal/types.h             |    4 ++--
 include/sfx2/childwin.hxx       |    2 +-
 include/sfx2/docmacromode.hxx   |    2 +-
 include/sfx2/shell.hxx          |    2 +-
 include/sfx2/thumbnailview.hxx  |    2 +-
 18 files changed, 25 insertions(+), 25 deletions(-)

New commits:
commit 86781bcfc8f12df980af5c86c2f9e75067f02abc
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 11:42:19 2017 +0100

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

diff --git a/include/jvmfwk/framework.hxx b/include/jvmfwk/framework.hxx
index b2d550e28c3a..8f3a3a0022b9 100644
--- a/include/jvmfwk/framework.hxx
+++ b/include/jvmfwk/framework.hxx
@@ -293,7 +293,7 @@ struct JavaInfoGuard {
    the second argument which is compared with the first.
    @return
    true - both object represent the same JRE.</br>
-   false - the objects represend different JREs
+   false - the objects represent different JREs
  */
 JVMFWK_DLLPUBLIC bool jfw_areEqualJavaInfo(
     JavaInfo const * pInfoA,JavaInfo const * pInfoB);
@@ -328,7 +328,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_isVMRunning(sal_Bool *bRunning);
     JREs can be provided by different vendors.
     The function obtains information about JRE installations and checks if
     there is one among them that supports
-    a set of features (currently only accessibilty is possible). If none was
+    a set of features (currently only accessibility is possible). If none was
     found then it also uses a list of paths, which have been registered
     by <code>jfw_addJRELocation</code>
     to find JREs. Found JREs are examined in the same way.</p>
diff --git a/include/o3tl/any.hxx b/include/o3tl/any.hxx
index 92627bdc7315..85fd28106419 100644
--- a/include/o3tl/any.hxx
+++ b/include/o3tl/any.hxx
@@ -98,7 +98,7 @@ template<typename T> inline boost::optional<T const> tryGetConverted(
 /** Try to access the value of a specific type stored in an Any.
 
     In trying to obtain a value, the same set of conversions as supported by
-    ">>=" are considere.
+    ">>=" are considered.
 
     The returned object is a proxy.  Proxies can be either positive or negative.
     Each proxy can be contextually converted to bool, yielding true iff the
diff --git a/include/o3tl/strong_int.hxx b/include/o3tl/strong_int.hxx
index 690fefa9032a..30322b3efe6a 100644
--- a/include/o3tl/strong_int.hxx
+++ b/include/o3tl/strong_int.hxx
@@ -33,8 +33,8 @@ namespace o3tl
 ///   typedef o3tl::strong_int<unsigned, MyIntTag> MyInt;
 ///
 /// \param UNDERLYING_TYPE the underlying scalar type
-/// \param PHANTOM_TYPE    a type tag, used to distinguish this instantion of the template
-///                        from other instantiantions with the same UNDERLYING_TYPE.
+/// \param PHANTOM_TYPE    a type tag, used to distinguish this instantiation of the template
+///                        from other instantiations with the same UNDERLYING_TYPE.
 ///
 template <typename UNDERLYING_TYPE, typename PHANTOM_TYPE>
 struct strong_int
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx
index 048ea78fb88b..1343b533038d 100644
--- a/include/oox/dump/dumperbase.hxx
+++ b/include/oox/dump/dumperbase.hxx
@@ -498,7 +498,7 @@ typedef std::shared_ptr< NameListBase > NameListRef;
 
 /** Base class of all classes providing names for specific values (name lists).
 
-    The idea is to provide a unique interfase for all different methods to
+    The idea is to provide a unique interface for all different methods to
     write specific names for any values. This can be enumerations (dedicated
     names for a subset of values), or names for bits in bit fields. Classes
     derived from this base class implement the specific behaviour for the
diff --git a/include/osl/file.h b/include/osl/file.h
index 5773f503fc0a..9404ffa53dbf 100644
--- a/include/osl/file.h
+++ b/include/osl/file.h
@@ -34,7 +34,7 @@ extern "C" {
 
 Main goals and usage hints
 
-The main intentention of this interface is to provide an universal portable and
+The main intention of this interface is to provide an universal portable and
 high performance access to file system issues on any operating system.
 
 There are a few main goals:
@@ -571,7 +571,7 @@ struct _oslVolumeInfo {
     sal_uInt64      uFreeSpace;
 /** Maximum length of file name of a single item */
     sal_uInt32      uMaxNameLength;
-/** Maximum length of a full quallified path in system notation */
+/** Maximum length of a full qualified path in system notation */
     sal_uInt32      uMaxPathLength;
 /** Points to a string that receives the name of the file system type. String should be set to zero before calling osl_getVolumeInformation
     and released after usage. */
@@ -1454,7 +1454,7 @@ typedef sal_uInt32 (SAL_CALL *oslCalcTextWidthFunc)( rtl_uString *ustrText );
     Function ptr that calculates the width of a string. Can be zero.
 
     @param uMaxWidth [in]
-    Maximum width allowed that is retunrned from pCalcWidth.
+    Maximum width allowed that is returned from pCalcWidth.
     If pCalcWidth is zero the character count is assumed as width.
 
     @retval osl_File_E_None on success
diff --git a/include/osl/security_decl.hxx b/include/osl/security_decl.hxx
index b011009f8c50..e7443439ca95 100644
--- a/include/osl/security_decl.hxx
+++ b/include/osl/security_decl.hxx
@@ -28,7 +28,7 @@ namespace osl
 
 /** Encapsulate security information for one user.
     A object of this class is used to execute a process with the rights an
-    security options of a scecified user.
+    security options of a specified user.
     @see Process::executeProcess
 */
 class Security
diff --git a/include/osl/socket.h b/include/osl/socket.h
index 799fa81762b9..3e868b7df0c1 100644
--- a/include/osl/socket.h
+++ b/include/osl/socket.h
@@ -239,7 +239,7 @@ SAL_DLLPUBLIC oslSocketAddr SAL_CALL osl_createInetBroadcastAddr (
     rtl_uString *strDottedAddr, sal_Int32 Port);
 
 
-/** Create an internet-address, consisting of hostaddress and port.
+/** Create an internet-address, consisting of host address and port.
     We interpret strDottedAddr as a dotted-decimal inet-addr
     (e.g. "141.99.128.50").
     @param strDottedAddr [in] String with dotted address.
diff --git a/include/osl/socket_decl.hxx b/include/osl/socket_decl.hxx
index 98eff4b99005..1df0794743cb 100644
--- a/include/osl/socket_decl.hxx
+++ b/include/osl/socket_decl.hxx
@@ -102,12 +102,12 @@ namespace osl
         inline sal_Int32 SAL_CALL getPort() const;
 
         /** Sets the port number of the address.
-           @return true if successfule.
+           @return true if successful.
          */
         inline bool SAL_CALL setPort( sal_Int32 nPort );
 
         /** Sets the address of the underlying socket address struct in network byte order.
-            @return true on success, false signales failure.
+            @return true on success, false signals failure.
          */
         inline bool SAL_CALL setAddr( const ::rtl::ByteSequence & address );
 
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index 230e0293f68d..ca282da84bc2 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -240,7 +240,7 @@ public:
     /// Destructor, the internal array with key names will be deleted.
     inline ~RegistryKeyNames();
 
-    /// returns the name of the key sepecified by index.
+    /// returns the name of the key specified by index.
     inline rtl::OUString getElement(sal_uInt32 index);
 
     /// returns the length of the array.
diff --git a/include/registry/types.hxx b/include/registry/types.hxx
index 0b15a8dfff1f..87b7c93f5851 100644
--- a/include/registry/types.hxx
+++ b/include/registry/types.hxx
@@ -190,7 +190,7 @@ namespace o3tl
 
 /** specifies the type of a field value.
 
-    A field can have a value if it repsresents a constant or an enum value.
+    A field can have a value if it represents a constant or an enum value.
  */
 enum RTValueType {
     RT_TYPE_NONE,
diff --git a/include/rtl/bootstrap.h b/include/rtl/bootstrap.h
index 3f75fe0412ef..76dfb1f5edc3 100644
--- a/include/rtl/bootstrap.h
+++ b/include/rtl/bootstrap.h
@@ -56,7 +56,7 @@ extern "C" {
    without .bin or .exe suffix. The ini-filename can be
    set by the special command line parameter
    '-env:INIFILENAME=/absolute/path/to/inifile' at runtime or it may
-   be set at compiletime by an API-call.<p>
+   be set at compile time by an API-call.<p>
 
    5th level: URE_BOOTSTRAP ini-file. If the bootstrap variable URE_BOOTSTRAP
    expands to the URL of an ini-file, that ini-file is searched.<p>
diff --git a/include/rtl/byteseq.h b/include/rtl/byteseq.h
index 14b8c8cd5ac2..d03d3f86d0bf 100644
--- a/include/rtl/byteseq.h
+++ b/include/rtl/byteseq.h
@@ -140,7 +140,7 @@ namespace rtl
 
 enum __ByteSequence_NoDefault
 {
-    /** This enum value can be used to create a bytesequence with uninitalized data
+    /** This enum value can be used to create a bytesequence with uninitialized data
     */
     BYTESEQ_NODEFAULT = 0xcafe
 };
@@ -217,7 +217,7 @@ public:
     inline ByteSequence( sal_Int32 len , enum __ByteSequence_NoDefault nodefault );
     /** Constructor:
         Creates a sequence from a C-Handle without acquiring the handle, thus taking
-        over owenership. Eitherway the handle is release by the destructor.
+        over ownership. Eitherway the handle is released by the destructor.
         This ctor is useful, when working with a c-interface (it safes a pair of
         acquire and release call and is thus a performance optimization only).
 
diff --git a/include/rtl/locale.h b/include/rtl/locale.h
index 050e08656197..de73e9780f14 100644
--- a/include/rtl/locale.h
+++ b/include/rtl/locale.h
@@ -97,7 +97,7 @@ SAL_DLLPUBLIC void SAL_CALL rtl_locale_setDefault(
 
 /**
     Getter for programmatic name of field,
-    a lowercased two-letter ISO 639-1 or three-letter ISO 639-3 code.
+    a lowercase two-letter ISO 639-1 or three-letter ISO 639-3 code.
     @see getDisplayLanguage
  */
 SAL_DLLPUBLIC rtl_uString * SAL_CALL rtl_locale_getLanguage( rtl_Locale * This );
diff --git a/include/sal/types.h b/include/sal/types.h
index 93953753ae25..8a22dd823312 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -492,7 +492,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) {
    is silenced in internal code.  It would need some substantial clean-up of
    internal code to fix all warnings/errors generated by it.  (Once that is
    done, it can become a synonym for SAL_DEPRECATED under LIBO_INTERNAL_ONLY,
-   too.  Completely removing the macro then would be incompatible, in case thare
+   too.  Completely removing the macro then would be incompatible, in case there
    are include files still around generated with a cppumaker that emitted it.)
  */
 #ifdef LIBO_INTERNAL_ONLY
@@ -530,7 +530,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) {
 
    Useful in cases where the compiler is "too clever" like when doing
    link-time code generation, and noticing that a called function
-   always throws, and fixing the problem cleanly so that it produceds
+   always throws, and fixing the problem cleanly so that it produces
    no warnings in normal non-LTO compilations either is not easy.
 
 */
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index c170611d4db6..154b441652bd 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -92,7 +92,7 @@ typedef SfxChildWindowContext* (*SfxChildWinContextCtor)( vcl::Window *pParentWi
 struct SfxChildWinContextFactory
 {
     SfxChildWinContextCtor  pCtor;      // Factory method
-    sal_uInt16              nContextId; // Idenifier for SfxInterface
+    sal_uInt16              nContextId; // Identifier for SfxInterface
 
     SfxChildWinContextFactory( SfxChildWinContextCtor pTheCtor, sal_uInt16 nID )
         : pCtor(pTheCtor)
diff --git a/include/sfx2/docmacromode.hxx b/include/sfx2/docmacromode.hxx
index e2ffeab68c43..80065d4ad016 100644
--- a/include/sfx2/docmacromode.hxx
+++ b/include/sfx2/docmacromode.hxx
@@ -227,7 +227,7 @@ namespace sfx2
             Note that if this method returns <FALSE/>, then subsequent calls of
             ->adjustMacroMode can still return <FALSE/>.
             That is, if the current macro execution mode for the document is not yet known
-            (and inparticular <em>not</em> MacroExecMode::NEVER_EXECUTE), then ->isMacroExecutionDisallowed
+            (and in particular <em>not</em> MacroExecMode::NEVER_EXECUTE), then ->isMacroExecutionDisallowed
             will return <FALSE/>.
             However, a subsequent call to ->adjustMacroMode can result in the user
             denying macro execution, in which ->adjustMacroMode will return <FALSE/>,
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index c82ef06c0f91..d3368ff1dea8 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -355,7 +355,7 @@ public:
     /**
         With this method can the slots of the subclasses be invalidated through the
         slot Id or alternatively through the Which ID. Slot IDs, which are
-        inherited by the subclass are also invalidert.
+        inherited by the subclass are also invalidated.
 
         [Cross-reference]
 
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 9a4d22038417..d5f0a5a91b14 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -71,7 +71,7 @@ namespace drawinglayer {
 
     WinBits
 
-    WB_VSCROLL          A scroolbar will be always shown. The visible number of
+    WB_VSCROLL          A scrollbar will be always shown. The visible number of
                         lines have to be specified with SetLineCount() if this
                         flag is set.
     WB_TABSTOP          It is possible to jump into the ValueSet with the tab key.


More information about the Libreoffice-commits mailing list