[Libreoffice-commits] core.git: include/vcl io/test javaunohelper/com jurt/test jvmfwk/plugins l10ntools/source linguistic/source lotuswordpro/source

Andrea Gelmini andrea.gelmini at gelma.net
Wed Sep 30 04:03:32 PDT 2015


 include/vcl/window.hxx                                             |    2 +-
 io/test/stm/pumptest.cxx                                           |    4 ++--
 javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java         |    4 ++--
 jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java |    2 +-
 jvmfwk/plugins/sunmajor/pluginlib/util.cxx                         |    4 ++--
 l10ntools/source/export.cxx                                        |    2 +-
 l10ntools/source/xmlparse.cxx                                      |    2 +-
 linguistic/source/gciterator.cxx                                   |    2 +-
 linguistic/source/gciterator.hxx                                   |    2 +-
 linguistic/source/spelldsp.cxx                                     |    2 +-
 lotuswordpro/source/filter/lwparrowstyles.hxx                      |    6 +++---
 lotuswordpro/source/filter/lwpbulletstylemgr.cxx                   |    2 +-
 lotuswordpro/source/filter/lwpdoc.cxx                              |    2 +-
 lotuswordpro/source/filter/lwpfribheader.hxx                       |    2 +-
 lotuswordpro/source/filter/lwpfribptr.cxx                          |    2 +-
 15 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 9956b99e68c45a82015766873b4b7f581462bef2
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed Sep 30 13:00:15 2015 +0200

    Fix typos
    
    Change-Id: I44bdb63bef76e9686e995661a24a3bef7cd50ab7
    Reviewed-on: https://gerrit.libreoffice.org/18959
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 9c968f5..812112b 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1308,7 +1308,7 @@ public:
     bool                                IsAccessibilityEventsSuppressed( bool bTraverseParentPath = true );
     void                                SetAccessibilityEventsSuppressed(bool bSuppressed);
 
-    // Deprecated - can use SetAccessibleRelationLabelFor/By nowadys
+    // Deprecated - can use SetAccessibleRelationLabelFor/By nowadays
     virtual vcl::Window*                GetParentLabelFor( const vcl::Window* pLabel ) const;
     virtual vcl::Window*                GetParentLabeledBy( const vcl::Window* pLabeled ) const;
     KeyEvent                            GetActivationKey() const;
diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx
index 74d74df..60dc414 100644
--- a/io/test/stm/pumptest.cxx
+++ b/io/test/stm/pumptest.cxx
@@ -369,9 +369,9 @@ void OPumpTest::testTerminate( const Reference< XInterface > &r )
     mywait();
     ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
     ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" );
-    // terminte leads to an error, that is no surprise, in fact
+    // terminate leads to an error, that is no surprise, in fact
     // one can't tell whether the error occurs because of the terminate
-    // call or for some other reason !
+    // call or for some other reason!
 //     ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
     ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" );
 }
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index ed82d92..3279958 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -303,7 +303,7 @@ XMultiPropertySet
         // Create an event with this as sender
         EventObject aEvt= new EventObject(this);
 
-        // inform all listeners to reelease this object
+        // inform all listeners to release this object
         aBoundLC.disposeAndClear(aEvt);
         aVetoableLC.disposeAndClear(aEvt);
     }
@@ -653,7 +653,7 @@ XMultiPropertySet
                         {
                             // Parameter setVal is not an Any. We need to construct an Any that contains
                             // the argument setVal.
-                            // If setVal is an interface implementation then, we cannot constuct the
+                            // If setVal is an interface implementation then, we cannot construct the
                             // Any with setVal.getClass(), because the Any.Type._typeClass would be TypeClass.UNKNOWN.
                             // We try to get an XInterface of setVal and set an XInterface type.
                             if (setVal instanceof XInterface)
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
index 638427f..6c4a472 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
@@ -43,7 +43,7 @@ class TestWorkAt implements TestIWorkAt {
     public synchronized void syncCall() throws Throwable {
         ++ _sync_counter;
 
-        // at least in currently run tests this should never fire, so dont
+        // at least in currently run tests this should never fire, so don't
         // defer the check until passedAsyncTest and assert here
         assertEquals(MESSAGES, _async_counter);
         if(_async_counter != MESSAGES)
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 344711e..f5b89ca 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -994,7 +994,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
                     // 1.3.1 special treatment: jdk/bin/java and /jdk/jre/bin/java are links to
                     //a script, named .java_wrapper. The script starts jdk/bin/sparc/native_threads/java
                     //or jdk/jre/bin/sparc/native_threads/java. The script uses the name with which it was
-                    //invoked to build the path to the executable. It we start the script directy as .java_wrapper
+                    //invoked to build the path to the executable. It we start the script directly as .java_wrapper
                     //then it tries to start a jdk/.../native_threads/.java_wrapper. Therefore the link, which
                     //is named java, must be used to start the script.
                     getJavaProps(sFullPath,
@@ -1003,7 +1003,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
 #endif
                                  props, & bProcessRun);
                     // Either we found a working 1.3.1
-                    //Or the java is broken. In both cases we stop searchin under this "root" directory
+                    // Or the java is broken. In both cases we stop searching under this "root" directory
                     bBreak = true;
                     break;
                 }
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 593801d..3e963f6 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -243,7 +243,7 @@ Export::Export(
 
 void Export::Init()
 {
-    // resets the internal status, used before parseing another file
+    // resets the internal status, used before parsing another file
     bDefine = false;
     bNextMustBeDefineEOL = false;
     nLevel = 0;
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 7a4c68e..00c05cf 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -370,7 +370,7 @@ void XMLFile::InsertL10NElement( XMLElement* pElement )
     }
 
     XMLHashMap::iterator pos = m_pXMLStrings->find( sId );
-    if( pos == m_pXMLStrings->end() ) // No instanze , create new one
+    if( pos == m_pXMLStrings->end() ) // No instance, create new one
     {
         pElem = new LangHashMap();
         (*pElem)[ sLanguage ]=pElement;
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx
index 365bf04..eb6f90a 100644
--- a/linguistic/source/gciterator.cxx
+++ b/linguistic/source/gciterator.cxx
@@ -928,7 +928,7 @@ throw (uno::RuntimeException, std::exception)
     {
         ::osl::Guard< ::osl::Mutex > aGuard( MyMutex::get() );
 
-        // releaase all UNO references
+        // release all UNO references
 
         m_xBreakIterator.clear();
 
diff --git a/linguistic/source/gciterator.hxx b/linguistic/source/gciterator.hxx
index 75d9f83..9467de8 100644
--- a/linguistic/source/gciterator.hxx
+++ b/linguistic/source/gciterator.hxx
@@ -83,7 +83,7 @@ class GrammarCheckingIterator:
     >,
     public LinguDispatcher
 {
-    //the queue is keeping track of all senteces to be checked
+    //the queue is keeping track of all sentences to be checked
     //every element of this queue is a FlatParagraphEntry struct-object
     typedef std::deque< FPEntry > FPQueue_t;
 
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 70cb45f2..e77fd30 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -631,7 +631,7 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl(
             xRes = NULL;
 
         // list of proposals found (to be checked against entries of
-        // neagtive dictionaries)
+        // negative dictionaries)
         ProposalList aProposalList;
         sal_Int16 eFailureType = -1;    // no failure
         if (xRes.is())
diff --git a/lotuswordpro/source/filter/lwparrowstyles.hxx b/lotuswordpro/source/filter/lwparrowstyles.hxx
index 21ba5f8..6db8829 100644
--- a/lotuswordpro/source/filter/lwparrowstyles.hxx
+++ b/lotuswordpro/source/filter/lwparrowstyles.hxx
@@ -61,9 +61,9 @@
 #include "lwpglobalmgr.hxx"
 
 /**
- * @descr   Registe arrow styles that are not directly support by SODC.
- *  There are three kinds,revsered arrow,revered concave arrow and revsered
- *  line arrow. this function should be called before the three arrows be used.
+ * @descr   Register arrow styles that are not directly support by SODC.
+ *  There are three kinds: reversed arrow, reversed concave arrow and reversed
+ *  line arrow. This function should be called before the three arrows be used.
  */
 void    RegisteArrowStyles()
 {
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
index 01250b9..763fa20 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -92,7 +92,7 @@ LwpBulletStyleMgr::~LwpBulletStyleMgr()
 
 /**
  * @short   Register bullet style to style-list. The function only register the bullet and single customized numbering
- *      not inluding the numbering sequence.
+ *      not including the numbering sequence.
  * @param   pPara pointer to the current paragraph which has a bullet/numbering.
  * @param   pBullOver pointer to the bulletoverride of current paragraph.
  * @param   pIndent pointer to the indentoverride of current paragraph.
diff --git a/lotuswordpro/source/filter/lwpdoc.cxx b/lotuswordpro/source/filter/lwpdoc.cxx
index 996341e..2bb9e7aa 100644
--- a/lotuswordpro/source/filter/lwpdoc.cxx
+++ b/lotuswordpro/source/filter/lwpdoc.cxx
@@ -682,7 +682,7 @@ bool LwpDocument::GetNumberOfPages(LwpDocument* pEndDivision, sal_uInt16& nCount
     return false;
 }
 /**
- * @descr    Get the numbers of page  before curruent division
+ * @descr    Get the numbers of page  before current division
  */
 sal_uInt16 LwpDocument::GetNumberOfPagesBefore()
 {
diff --git a/lotuswordpro/source/filter/lwpfribheader.hxx b/lotuswordpro/source/filter/lwpfribheader.hxx
index f0e4abf..9740b04 100644
--- a/lotuswordpro/source/filter/lwpfribheader.hxx
+++ b/lotuswordpro/source/filter/lwpfribheader.hxx
@@ -56,7 +56,7 @@
 #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIBHEADER_HXX
 #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIBHEADER_HXX
 
-#define FRIB_TAG_NOUNICODE 0x40 // Don't traslate text to/from Unicode
+#define FRIB_TAG_NOUNICODE 0x40 // Don't translate text to/from Unicode
 #define FRIB_TAG_MODIFIER 0x80  // This frib has a modifier on it
 #define FRIB_TAG_TYPEMASK (FRIB_TAG_NOUNICODE | FRIB_TAG_MODIFIER)
 
diff --git a/lotuswordpro/source/filter/lwpfribptr.cxx b/lotuswordpro/source/filter/lwpfribptr.cxx
index e9c16bf..5e3d1e5 100644
--- a/lotuswordpro/source/filter/lwpfribptr.cxx
+++ b/lotuswordpro/source/filter/lwpfribptr.cxx
@@ -607,7 +607,7 @@ void LwpFribPtr::ProcessDropcap(LwpStory* pStory,LwpFrib* pFrib,sal_uInt32 nLen)
     }
 }
 /**
- * @descr:  If the position of pPreLayout is earlier than pNextLayout, return true, or return false, defalut return true
+ * @descr:  If the position of pPreLayout is earlier than pNextLayout, return true, or return false, default return true
  *
 */
 bool LwpFribPtr::ComparePagePosition(LwpVirtualLayout* pPreLayout, LwpVirtualLayout* pNextLayout)


More information about the Libreoffice-commits mailing list