[Libreoffice-commits] core.git: tools/source ucbhelper/source ucb/qa ucb/source udkapi/com UnoControls/source unotest/source unotools/source

Andrea Gelmini andrea.gelmini at gelma.net
Wed Sep 30 03:42:10 PDT 2015


 UnoControls/source/controls/OConnectionPointHelper.cxx  |    2 +-
 UnoControls/source/inc/statusindicator.hxx              |    2 +-
 tools/source/ref/errinf.cxx                             |    2 +-
 tools/source/stream/strmunx.cxx                         |    2 +-
 ucb/qa/complex/tdoc/CheckContentProvider.java           |    6 +++---
 ucb/source/cacher/cachedcontentresultset.cxx            |    2 +-
 ucb/source/ucp/cmis/cmis_content.cxx                    |    2 +-
 ucb/source/ucp/webdav/webdavresponseparser.cxx          |    2 +-
 ucbhelper/source/client/interceptedinteraction.cxx      |    2 +-
 ucbhelper/source/client/proxydecider.cxx                |    2 +-
 udkapi/com/sun/star/io/XInputStream.idl                 |    2 +-
 unotest/source/java/org/openoffice/test/FileHelper.java |    4 ++--
 unotools/source/config/cmdoptions.cxx                   |    2 +-
 unotools/source/config/eventcfg.cxx                     |    2 +-
 unotools/source/config/moduleoptions.cxx                |    4 ++--
 15 files changed, 19 insertions(+), 19 deletions(-)

New commits:
commit 82f0a4f9300ab3898925941ff541b3382b0175e0
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 29 18:12:22 2015 +0200

    Fix typos
    
    Change-Id: I3926eca56ac9f54f9ddbf88610888ce97cf00b34
    Reviewed-on: https://gerrit.libreoffice.org/18990
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index c580013..57ba185 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -196,7 +196,7 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
     OMultiTypeInterfaceContainerHelper& aSharedContainer = m_pContainerImplementation->impl_getMultiTypeContainer();
     // Get pointer to specialized container which hold all interfaces of searched type.
     OInterfaceContainerHelper* pSpecialContainer = aSharedContainer.getContainer( m_aInterfaceType );
-    // Get elements of searched type, if somelse exist.
+    // Get elements of searched type, if some else exist.
     if ( pSpecialContainer != NULL )
     {
         seqReturnConnections = pSpecialContainer->getElements();
diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx
index 4760d3e..47c17b9 100644
--- a/UnoControls/source/inc/statusindicator.hxx
+++ b/UnoControls/source/inc/statusindicator.hxx
@@ -42,7 +42,7 @@ class ProgressBar;
 #define FIXEDTEXT_MODELNAME                     "com.sun.star.awt.UnoControlFixedTextModel"
 #define CONTROLNAME_TEXT                        "Text"                                                  // identifier the control in container
 #define CONTROLNAME_PROGRESSBAR                 "ProgressBar"                                           //              -||-
-#define STATUSINDICATOR_BACKGROUNDCOLOR         TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 )                // lighgray
+#define STATUSINDICATOR_BACKGROUNDCOLOR         TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 )                // lightgray
 #define STATUSINDICATOR_LINECOLOR_BRIGHT        TRGB_COLORDATA( 0x00, 0xFF, 0xFF, 0xFF )                // white
 #define STATUSINDICATOR_LINECOLOR_SHADOW        TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x00 )                // black
 #define STATUSINDICATOR_DEFAULT_WIDTH           300
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index 34ebe20..68687ca 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -172,7 +172,7 @@ static void aDspFunc(const OUString &rErr, const OUString &rAction)
 struct ErrorContextImpl
 {
     ErrorContext *pNext;
-    vcl::Window  *pWin; // should be VclPtr for strong lifecyle
+    vcl::Window  *pWin; // should be VclPtr for strong lifecycle
 };
 
 ErrorContext::ErrorContext(vcl::Window *pWinP)
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index ac50988..35c5abd 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -464,7 +464,7 @@ void SvFileStream::Open( const OUString& rFilename, StreamMode nOpenMode )
     Close();
     errno = 0;
     m_eStreamMode = nOpenMode;
-    m_eStreamMode &= ~StreamMode::TRUNC; // don't truncat on reopen
+    m_eStreamMode &= ~StreamMode::TRUNC; // don't truncate on reopen
 
     aFilename = rFilename;
 
diff --git a/ucb/qa/complex/tdoc/CheckContentProvider.java b/ucb/qa/complex/tdoc/CheckContentProvider.java
index 09a2576..0f0639c 100644
--- a/ucb/qa/complex/tdoc/CheckContentProvider.java
+++ b/ucb/qa/complex/tdoc/CheckContentProvider.java
@@ -187,7 +187,7 @@ public class CheckContentProvider {
 
     /**
      * Check a folder on document 2 (document 2 contains an embedded picture and
-     * therefore contans a subfolder "Pictures"
+     * therefore contains a subfolder "Pictures"
      */
     @Test public void checkTDOCFolder() {
         try {
@@ -302,9 +302,9 @@ public class CheckContentProvider {
         // check the XChild interface
         _XChild xChild = new _XChild();
         xChild.oObj = UnoRuntime.queryInterface(XChild.class, xContent);
-        // hasParent dermines, if this content has a parent
+        // hasParent determines if this content has a parent
         assertNotNull("getParent()", xChild._getParent(hasParent));
-        // parameter does dermine, if this funczion is supported: generally not supported with tdcp content
+        // parameter does dermine, if this function is supported: generally not supported with tdcp content
         assertNotNull("setParent()", xChild._setParent(false));
 
         // check the XPropertyChangeNotifier interface
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index 57378e9..cc3c440 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -111,7 +111,7 @@ template<typename T> T CachedContentResultSet::rowOriginGet(
 
 
 
-// CCRS_Cache methoeds.
+// CCRS_Cache methods
 
 
 
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 0527783..3e52ffb 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -481,7 +481,7 @@ namespace cmis
     libcmis::ObjectPtr Content::getObject( const uno::Reference< ucb::XCommandEnvironment >& xEnv ) throw (css::uno::RuntimeException, css::ucb::CommandFailedException, libcmis::Exception)
     {
         // can't get the session for some reason
-        // the recent file openning at start up is an example.
+        // the recent file opening at start up is an example.
         try
         {
             if ( !getSession( xEnv ) )
diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx
index fd36a86..a00b13d 100644
--- a/ucb/source/ucp/webdav/webdavresponseparser.cxx
+++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx
@@ -746,7 +746,7 @@ namespace
                             }
                             case WebDAVName_response:
                             {
-                                // respose end
+                                // response end
                                 if(maHref.getLength())
                                 {
                                     if(isCollectingProperties())
diff --git a/ucbhelper/source/client/interceptedinteraction.cxx b/ucbhelper/source/client/interceptedinteraction.cxx
index 284751f..99c0e25 100644
--- a/ucbhelper/source/client/interceptedinteraction.cxx
+++ b/ucbhelper/source/client/interceptedinteraction.cxx
@@ -119,7 +119,7 @@ InterceptedInteraction::EInterceptionState InterceptedInteraction::impl_intercep
         if (rInterception.MatchExact)
             bMatch = aInterceptedType.equals(aRequestType);
         else
-            bMatch = aInterceptedType.isAssignableFrom(aRequestType); // dont change intercepted and request type here -> it will check the wrong direction!
+            bMatch = aInterceptedType.isAssignableFrom(aRequestType); // don't change intercepted and request type here -> it will check the wrong direction!
 
         // intercepted ...
         // Call they might existing derived class, so they can handle that by its own.
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx
index ed73a86..b5672d5 100644
--- a/ucbhelper/source/client/proxydecider.cxx
+++ b/ucbhelper/source/client/proxydecider.cxx
@@ -676,7 +676,7 @@ void InternetProxyDecider_Impl::setNoProxyList(
     if ( !rNoProxyList.isEmpty() )
     {
         // List of connection endpoints hostname[:port],
-        // separated by semicolon. Wilcards allowed.
+        // separated by semicolon. Wildcards allowed.
 
         sal_Int32 nPos = 0;
         sal_Int32 nEnd = rNoProxyList.indexOf( ';' );
diff --git a/udkapi/com/sun/star/io/XInputStream.idl b/udkapi/com/sun/star/io/XInputStream.idl
index 2a8d433..0b3cb9b 100644
--- a/udkapi/com/sun/star/io/XInputStream.idl
+++ b/udkapi/com/sun/star/io/XInputStream.idl
@@ -49,7 +49,7 @@ published interface XInputStream: com::sun::star::uno::XInterface
              of bytes (or less as a sign of EOF).
              <br>
              C++ only : Note that for unbridged (e.g., in-process)
-             calls, using the same sequence for repetive readBytes()-calls
+             calls, using the same sequence for repetitive readBytes()-calls
              can bear a performance advantage. The callee can put the data
              directly into the sequence so that no buffer reallocation is
              necessary.
diff --git a/unotest/source/java/org/openoffice/test/FileHelper.java b/unotest/source/java/org/openoffice/test/FileHelper.java
index 8b3d704..0f21684 100644
--- a/unotest/source/java/org/openoffice/test/FileHelper.java
+++ b/unotest/source/java/org/openoffice/test/FileHelper.java
@@ -18,12 +18,12 @@
 
 package org.openoffice.test;
 
-/**
+/*
  * Helper Functions for File handling
  */
 public class FileHelper
 {
-    /**
+    /*
      * Concat a _sRelativePathToAdd to a _sPath and append a '/' to the _sPath only if need.
      *
      * @return a right concated path
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx
index 7683fe9..6df847f 100644
--- a/unotools/source/config/cmdoptions.cxx
+++ b/unotools/source/config/cmdoptions.cxx
@@ -210,7 +210,7 @@ void SvtCommandOptions_Impl::Notify( const Sequence< OUString >& )
         m_aDisabledCommands.AddCommand( sCmd );
     }
 
-    // dont forget to update all existing frames and her might cached dispatch objects!
+    // don't forget to update all existing frames and her might cached dispatch objects!
     // But look for already killed frames. We hold weak references instead of hard ones ...
     for (SvtFrameVector::const_iterator pIt  = m_lFrames.begin();
                                         pIt != m_lFrames.end();
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index 9b13364..69dd7d1 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -145,7 +145,7 @@ void GlobalEventConfig_Impl::Notify( const Sequence< OUString >& )
 
     initBindingInfo();
 
-    // dont forget to update all existing frames and her might cached dispatch objects!
+    // don't forget to update all existing frames and her might cached dispatch objects!
     // But look for already killed frames. We hold weak references instead of hard ones ...
     for (FrameVector::const_iterator pIt  = m_lFrames.begin();
                                         pIt != m_lFrames.end();
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index b646e3e..9311149 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -193,8 +193,8 @@ struct FactoryInfo
         bool            isDefaultFilterReadonly() const { return bDefaultFilterReadonly; }
         sal_Int32           getIcon             () const { return nIcon;              };
 
-        // If you call set-methods - we check for changes of valkues and mark it.
-        // But if you wish to set it without that ... you must initialize it!
+        // If you call set-methods - we check for changes of values and mark it.
+        // But if you wish to set it without that... you must initialize it!
         void initInstalled        ( bool               bNewInstalled        ) { bInstalled        = bNewInstalled; }
         void initFactory          ( const OUString& sNewFactory          ) { sFactory          = sNewFactory; }
         void initShortName        ( const OUString& sNewShortName        ) { sShortName        = sNewShortName; }


More information about the Libreoffice-commits mailing list