[Libreoffice-commits] core.git: vcl/source vcl/win winaccessibility/source writerperfect/qa

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 16:30:33 UTC 2019


 vcl/source/control/roadmap.cxx                                |    2 +-
 vcl/win/app/salinst.cxx                                       |    2 +-
 vcl/win/window/salframe.cxx                                   |    8 ++++----
 winaccessibility/source/UAccCOMIDL/ia2_api_all.idl            |   10 +++++-----
 winaccessibility/source/service/AccContainerEventListener.cxx |    2 +-
 writerperfect/qa/unit/EPUBExportTest.cxx                      |    2 +-
 6 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 1a97b9ab0489c742ffbfc8270e4bd153006b1273
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 12 14:38:49 2019 +0200
Commit:     Andrea Gelmini <andrea.gelmini at gelma.net>
CommitDate: Mon Aug 12 18:29:05 2019 +0200

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

diff --git a/vcl/source/control/roadmap.cxx b/vcl/source/control/roadmap.cxx
index 462073a73007..c1a301110fb3 100644
--- a/vcl/source/control/roadmap.cxx
+++ b/vcl/source/control/roadmap.cxx
@@ -598,7 +598,7 @@ bool ORoadmap::PreNotify(NotifyEvent& _rNEvt)
             switch( nKeyCode )
             {
                 case KEY_UP:
-                    {   // Note: Performancewise this is not optimal, because we search for an ID in the labels
+                    {   // Note: Performance wise this is not optimal, because we search for an ID in the labels
                         //       and afterwards we search again for a label with the appropriate ID ->
                         //       unnecessarily we search twice!!!
                         ItemId nPrevItemID = GetPreviousAvailableItemId( pItem->GetIndex() );
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx
index 3a5fd78f743b..9fa7445f8701 100644
--- a/vcl/win/app/salinst.cxx
+++ b/vcl/win/app/salinst.cxx
@@ -459,7 +459,7 @@ bool ImplSalYield( bool bWait, bool bHandleAllCurrentEvents )
 
     // 0ms timeouts are handled out-of-bounds to prevent busy-locking the
     // event loop with timeout messages.
-    // We ensure we never handle more then one timeout per call.
+    // We ensure we never handle more than one timeout per call.
     // This way we'll always process a normal system message.
     if ( !bWasTimeoutMsg && pTimer && pTimer->IsDirectTimeout() )
     {
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index bf2c15bca26d..cb46d5e29279 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -314,7 +314,7 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst,
         }
         else
         {
-            // Only with WS_OVRLAPPED we get a useful default position/size
+            // Only with WS_OVERLAPPED we get a useful default position/size
             if ( (nSalFrameStyle & (SalFrameStyleFlags::SIZEABLE | SalFrameStyleFlags::MOVEABLE)) ==
                  (SalFrameStyleFlags::SIZEABLE | SalFrameStyleFlags::MOVEABLE) )
                 nSysStyle |= WS_OVERLAPPED;
@@ -447,8 +447,8 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst,
         return nullptr;
     }
 
-    // If we have a Window with an Caption Bar and without
-    // an MaximizeBox, we change the SystemMenu
+    // If we have a Window with a Caption Bar and without
+    // a MaximizeBox, we change the SystemMenu
     if ( (nSysStyle & (WS_CAPTION | WS_MAXIMIZEBOX)) == (WS_CAPTION) )
     {
         HMENU hSysMenu = GetSystemMenu( hWnd, FALSE );
@@ -3376,7 +3376,7 @@ static bool ImplHandleKeyMsg( HWND hWnd, UINT nMsg,
             return false;
 
         // only "free flying" WM_CHAR messages arrive here, that are
-        // created by typing a ALT-NUMPAD combination
+        // created by typing an ALT-NUMPAD combination
         SalKeyEvent aKeyEvt;
 
         if ( (wParam >= '0') && (wParam <= '9') )
diff --git a/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl b/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl
index f2de7495a638..97d207169549 100644
--- a/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl
+++ b/winaccessibility/source/UAccCOMIDL/ia2_api_all.idl
@@ -1182,7 +1182,7 @@ IA2_STATE_VERTICAL =                0x20000,
  state is not required.  However, this state is necessary in those cases where
  an object has a role which is not one of the previously mentioned roles.  An
  example is a table cell which indicates whether or not an email has an attachment,
- whether or not an mail is considered spam, and whether or not an email has been read.
+ whether or not a mail is considered spam, and whether or not an email has been read.
  */
 IA2_STATE_CHECKABLE =               0x40000,
 
@@ -1502,7 +1502,7 @@ IA2_STATE_PINNED =                  0x80000
 
   Regarding switching between any of the IAccessible2 interfaces, applications implementing
   IAccessible2 should implement the IAccessible2 interfaces on a single object since ATs
-  will be using QueryInterface to switch between the IAccessilbe2 interfaces.  Implementing
+  will be using QueryInterface to switch between the IAccessible2 interfaces.  Implementing
   the IAccessible2 interfaces on separate objects would require the use of QueryService.
   There is one exception, IAccessibleApplication can be implemented on a separate object so
   its common code doesn't have to be included in each accessible object.  ATs should use
@@ -2655,7 +2655,7 @@ interface IAccessibleText : IUnknown
    For example, if text type is ::IA2_TEXT_BOUNDARY_WORD, then the complete
     word that is closest to and located before offset is returned.
 
-   If the index is valid, but no text is found, S_FALSE is returned along with out
+   If the index is valid, but no text is found, S_FALSE is returned along without
     values of 0, 0, and a NULL pointer.  This would happen for boundary types other
     than character when the text consists entirely of whitespace.
 
@@ -2700,7 +2700,7 @@ interface IAccessibleText : IUnknown
    For example, if text type is ::IA2_TEXT_BOUNDARY_WORD, then the complete
     word that is closest to and located after offset is returned.
 
-   If the index is valid, but no text is found, S_FALSE is returned along with out
+   If the index is valid, but no text is found, S_FALSE is returned along without
     values of 0, 0, and a NULL pointer.  This would happen for boundary types other
     than character when the text consists entirely of whitespace.
 
@@ -2746,7 +2746,7 @@ interface IAccessibleText : IUnknown
     last characters of a word are considered inside the word.  Boundary types of
     sentence and paragraph should exhibit similar behavior.
 
-   If the index is valid, but no text is found, S_FALSE is returned along with out
+   If the index is valid, but no text is found, S_FALSE is returned along without
     values of 0, 0, and a NULL pointer.  This would happen for boundary types other
     than character when the text consists entirely of whitespace.
 
diff --git a/winaccessibility/source/service/AccContainerEventListener.cxx b/winaccessibility/source/service/AccContainerEventListener.cxx
index c2af19c9b696..8ae4653beb88 100644
--- a/winaccessibility/source/service/AccContainerEventListener.cxx
+++ b/winaccessibility/source/service/AccContainerEventListener.cxx
@@ -140,7 +140,7 @@ void AccContainerEventListener::HandleChildChangedEvent(Any oldValue, Any newVal
     }
     else if (oldValue >>= xChild)
     {
-        //delete a existing child
+        //delete an existing child
         if(xChild.is())
         {
             XAccessible* pAcc = xChild.get();
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx
index c004c658b57a..edc2da70f59a 100644
--- a/writerperfect/qa/unit/EPUBExportTest.cxx
+++ b/writerperfect/qa/unit/EPUBExportTest.cxx
@@ -840,7 +840,7 @@ CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTdf115623SplitByChapter)
         xmlFreeDoc(mpXmlDoc);
         mpXmlDoc = nullptr;
     }
-    // Splitted HTML should keep the same writing-mode.
+    // Split HTML should keep the same writing-mode.
     {
         mpXmlDoc = parseExport("OEBPS/sections/section0002.xhtml");
         OUString aClass = getXPath(mpXmlDoc, "//xhtml:body", "class");


More information about the Libreoffice-commits mailing list