[Libreoffice-commits] core.git: toolkit/source toolkit/test tools/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 08:51:58 UTC 2019


 toolkit/source/controls/geometrycontrolmodel.cxx       |    2 +-
 toolkit/source/controls/unocontrol.cxx                 |    6 +++---
 toolkit/source/controls/unocontrols.cxx                |    2 +-
 toolkit/test/accessibility/AccessibilityTreeModel.java |    2 +-
 toolkit/test/accessibility/OfficeConnection.java       |    2 +-
 toolkit/test/accessibility/news.html                   |    2 +-
 tools/source/datetime/tdate.cxx                        |    2 +-
 tools/source/fsys/wldcrd.cxx                           |    2 +-
 tools/source/inet/inetmime.cxx                         |    2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 263e04b66d11eaf5d05c1e745df69e5f5010f7fb
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 18:22:26 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 10:50:55 2019 +0200

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

diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx
index 53a12342d8de..38827556bb0b 100644
--- a/toolkit/source/controls/geometrycontrolmodel.cxx
+++ b/toolkit/source/controls/geometrycontrolmodel.cxx
@@ -87,7 +87,7 @@
         {
             m_xAggregate = _pAggregateInstance;
 
-            {   // check if the aggregate is cloneable
+            {   // check if the aggregate is clonable
                 Reference< XCloneable > xCloneAccess(m_xAggregate, UNO_QUERY);
                 m_bCloneable = xCloneAccess.is();
             }
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 2359ed44981b..1881fa374bd3 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -157,7 +157,7 @@ OUString UnoControl::GetComponentServiceName()
 
 Reference< XWindowPeer >    UnoControl::ImplGetCompatiblePeer()
 {
-    DBG_ASSERT( !mbCreatingCompatiblePeer, "ImplGetCompatiblePeer - rekursive?" );
+    DBG_ASSERT( !mbCreatingCompatiblePeer, "ImplGetCompatiblePeer - recursive?" );
 
     mbCreatingCompatiblePeer = true;
 
@@ -244,7 +244,7 @@ bool UnoControl::ImplCheckLocalize( OUString& _rPossiblyLocalizable )
 
 void UnoControl::ImplSetPeerProperty( const OUString& rPropName, const Any& rVal )
 {
-    // since a change made in propertiesChange, we can't be sure that this is called with an valid getPeer(),
+    // since a change made in propertiesChange, we can't be sure that this is called with a valid getPeer(),
     // this assumption may be false in some (seldom) multi-threading scenarios (cause propertiesChange
     // releases our mutex before calling here in)
     // That's why this additional check
@@ -565,7 +565,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
 
     Reference< XWindow >    xParent = getParentPeer();
     Reference< XControl > xThis( static_cast<XAggregation*>(static_cast<cppu::OWeakAggObject*>(this)), UNO_QUERY );
-    // call createPeer via a interface got from queryInterface, so the aggregating class can intercept it
+    // call createPeer via an interface got from queryInterface, so the aggregating class can intercept it
 
     DBG_ASSERT( !bNeedNewPeer || xParent.is(), "Need new peer, but don't have a parent!" );
 
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 97b304699154..6145b6564b7a 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -1268,7 +1268,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent )
         if ( maItemListeners.getLength() )
             maItemListeners.itemStateChanged( rEvent );
     }
-        // note that speaking stricly, this is wrong: When in 1.0.x, the user would have de-selected
+        // note that speaking strictly, this is wrong: When in 1.0.x, the user would have de-selected
         // a radio button _without_ selecting another one, this would have caused a notification.
         // With the change done here, this today won't cause a notification anymore.
 
diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java
index 49f3b4ea3c78..b021746bc2e1 100644
--- a/toolkit/test/accessibility/AccessibilityTreeModel.java
+++ b/toolkit/test/accessibility/AccessibilityTreeModel.java
@@ -175,7 +175,7 @@ public class AccessibilityTreeModel
     }
 
 
-    /** Add add a new child to a parent.
+    /** Add a new child to a parent.
         @return
             Returns the new or existing representation of the specified
             accessible object.
diff --git a/toolkit/test/accessibility/OfficeConnection.java b/toolkit/test/accessibility/OfficeConnection.java
index 4ecb98ba0b47..357c7c6d183b 100644
--- a/toolkit/test/accessibility/OfficeConnection.java
+++ b/toolkit/test/accessibility/OfficeConnection.java
@@ -50,7 +50,7 @@ public class OfficeConnection
         connect (msDefaultHost, mnDefaultPort);
     }
 
-    /** @descr  Connect to a already running LibreOffice application that has
+    /** @descr  Connect to an already running LibreOffice application that has
                 been started with a command line argument like
 		"--accept=socket,host=localhost,port=5678;urp;"
 		*/
diff --git a/toolkit/test/accessibility/news.html b/toolkit/test/accessibility/news.html
index 9e801723f06a..7b5336ea45d3 100644
--- a/toolkit/test/accessibility/news.html
+++ b/toolkit/test/accessibility/news.html
@@ -1,6 +1,6 @@
 <html><body bgcolor="#fffaf0">
 <h1>News for AWB v1.7.2</h1>
-<p>Adaption to recent UAA changes: 
+<p>Adaptation to recent UAA changes:
 <ul>
 <li>Introduction of
 com.sun.star.accessibility.TextSegment structure that is returned by some
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index 51c6b53bd0a3..1fdebaac55bb 100644
--- a/tools/source/datetime/tdate.cxx
+++ b/tools/source/datetime/tdate.cxx
@@ -352,7 +352,7 @@ sal_uInt16 Date::GetWeekOfYear( DayOfWeek eStartDay,
             nWeek = aLastDatePrevYear.GetWeekOfYear( eStartDay, nMinimumNumberOfDaysInWeek );
         }
     }
-    else // ( nMinimumNumberOfDaysInWeek == somehing_else, commentary examples for 4 )
+    else // ( nMinimumNumberOfDaysInWeek == something_else, commentary examples for 4 )
     {
         // x_monday - thursday
         if ( n1WDay < nMinimumNumberOfDaysInWeek )
diff --git a/tools/source/fsys/wldcrd.cxx b/tools/source/fsys/wldcrd.cxx
index 1cdf20c30046..bf5155dee88b 100644
--- a/tools/source/fsys/wldcrd.cxx
+++ b/tools/source/fsys/wldcrd.cxx
@@ -97,7 +97,7 @@ bool WildCard::Matches( const OUString& rString ) const
     {
         while ( (nSepPos = aTmpWild.indexOf(cSepSymbol)) != -1 )
         {
-            // Check all splitted wildcards
+            // Check all split wildcards
             if ( ImpMatch( aTmpWild.copy( 0, nSepPos ).getStr(), aString.getStr() ) )
                 return true;
             aTmpWild = aTmpWild.copy(nSepPos + 1); // remove separator
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index 97dcfc8a79ea..49038921b7a8 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -175,7 +175,7 @@ std::unique_ptr<sal_Char[]> convertFromUnicode(const sal_Unicode * pBegin,
 
     @param pBuffer  Points to a buffer, must not be null.
 
-    @param nUTF32  An UTF-32 character, must be in the range 0..0x10FFFF.
+    @param nUTF32  A UTF-32 character, must be in the range 0..0x10FFFF.
 
     @return  A pointer past the UTF-16 characters put into the buffer
     (i.e., pBuffer + 1 or pBuffer + 2).


More information about the Libreoffice-commits mailing list