This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ceb51a8ef1 Fix spelling in code comments and descriptions only (#207)
ceb51a8ef1 is described below

commit ceb51a8ef1194166c4e44e1e49f3795fd0d2d02c
Author: John Bampton <[email protected]>
AuthorDate: Mon Apr 1 20:24:06 2024 +1000

    Fix spelling in code comments and descriptions only (#207)
    
    * Fix spelling in code comments and descriptions only
    
    * Update IllegalAccessibleComponentStateException.idl
    
    ---------
    
    Co-authored-by: Matthias Seidel <[email protected]>
---
 main/crashrep/source/unx/main.cxx                                   | 4 ++--
 main/dbaccess/prj/dbu.xml                                           | 6 +++---
 main/editeng/inc/editeng/AccessibleContextBase.hxx                  | 2 +-
 main/jvmfwk/inc/jvmfwk/framework.h                                  | 2 +-
 .../star/accessibility/IllegalAccessibleComponentStateException.idl | 2 +-
 main/sc/source/ui/inc/fieldwnd.hxx                                  | 2 +-
 main/sw/source/core/access/accportions.cxx                          | 2 +-
 main/vcl/source/window/dockmgr.cxx                                  | 4 ++--
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/main/crashrep/source/unx/main.cxx 
b/main/crashrep/source/unx/main.cxx
index 24961b1336..b0dd41bfdb 100644
--- a/main/crashrep/source/unx/main.cxx
+++ b/main/crashrep/source/unx/main.cxx
@@ -1028,7 +1028,7 @@ static bool       setup_version()
 }
 
 #if 0
-// Use gconftool-2 to determine if gnome accessiblity is enabled
+// Use gconftool-2 to determine if gnome accessibility is enabled
 // unused
 static bool get_accessibility_state()
 {
@@ -1054,7 +1054,7 @@ int main( int argc, char** argv )
 
        setup_program_dir( argv[0] );
 
-       // Don't start if accessiblity is enabled or report server is not given
+       // Don't start if accessibility is enabled or report server is not given
 
        if ( setup_version() )
        {
diff --git a/main/dbaccess/prj/dbu.xml b/main/dbaccess/prj/dbu.xml
index 383619248c..4586798206 100644
--- a/main/dbaccess/prj/dbu.xml
+++ b/main/dbaccess/prj/dbu.xml
@@ -106,7 +106,7 @@
        <component-description>
                <author>Ocke Janssen</author>
                <name>org.openoffice.comp.dbu.JoinViewAccessibility</name>
-               <description>Represents the accessiblity view port for the 
connection and the tables in the query design.</description>
+               <description>Represents the accessibility view port for the 
connection and the tables in the query design.</description>
                <loader-name>com.sun.star.loader.SharedLibrary</loader-name>
                <language>c++</language>
                <status value="final"/>
@@ -116,7 +116,7 @@
        <component-description>
                <author>Ocke Janssen</author>
                <name>org.openoffice.comp.dbu.TableWindowAccessibility</name>
-               <description>Represents the accessiblity object for a table in 
the query design.</description>
+               <description>Represents the accessibility object for a table in 
the query design.</description>
                <loader-name>com.sun.star.loader.SharedLibrary</loader-name>
                <language>c++</language>
                <status value="final"/>
@@ -126,7 +126,7 @@
        <component-description>
                <author>Ocke Janssen</author>
                <name>org.openoffice.comp.dbu.ConnectionLineAccessibility</name>
-               <description>Represents the accessiblity object for the 
connection between two tables in the query design.</description>
+               <description>Represents the accessibility object for the 
connection between two tables in the query design.</description>
                <loader-name>com.sun.star.loader.SharedLibrary</loader-name>
                <language>c++</language>
                <status value="final"/>
diff --git a/main/editeng/inc/editeng/AccessibleContextBase.hxx 
b/main/editeng/inc/editeng/AccessibleContextBase.hxx
index 714d36eb11..3153e84e93 100644
--- a/main/editeng/inc/editeng/AccessibleContextBase.hxx
+++ b/main/editeng/inc/editeng/AccessibleContextBase.hxx
@@ -84,7 +84,7 @@ public:
        virtual ~AccessibleContextBase (void);
 
 
-       /** Call all accessiblity event listeners to inform them about the
+       /** Call all accessibility event listeners to inform them about the
         specified event.
         @param aEventId
             Id of the event type.
diff --git a/main/jvmfwk/inc/jvmfwk/framework.h 
b/main/jvmfwk/inc/jvmfwk/framework.h
index 375234c6b3..99bdccaba3 100644
--- a/main/jvmfwk/inc/jvmfwk/framework.h
+++ b/main/jvmfwk/inc/jvmfwk/framework.h
@@ -363,7 +363,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL 
jfw_isVMRunning(sal_Bool *bRunning)
     be put into the javavendors.xml file.<br/>
     The function uses the plug-in libraries to obtain information about JRE
     installation and checks if they 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> or <code>jfw_setJRELocations</code>
     to find JREs. Found JREs are examined in the same way.</p>
diff --git 
a/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl
 
b/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl
index fbe4bd3491..e08197da6c 100644
--- 
a/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl
+++ 
b/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl
@@ -32,7 +32,7 @@ module com {  module sun {  module star {  module 
accessibility {
  
 /** Indicates invalid or unavailable state information.
 
-    <p>This exception is thrown to indicate the an accessibilty component
+    <p>This exception is thrown to indicate that an accessibility component
     has been queried for state information that it can not provide.  Used by
     <member>XAccessibleContext::getLocale</member>.</p>
     
diff --git a/main/sc/source/ui/inc/fieldwnd.hxx 
b/main/sc/source/ui/inc/fieldwnd.hxx
index aea382fde4..08ba3a12c7 100644
--- a/main/sc/source/ui/inc/fieldwnd.hxx
+++ b/main/sc/source/ui/inc/fieldwnd.hxx
@@ -209,7 +209,7 @@ private:
     /** Draws the insertion cursor. */
     void                DrawInsertionCursor( OutputDevice& rDev );
 
-    /** Returns a reference to the accessiblity object, if still alive. */
+    /** Returns a reference to the accessibility object, if still alive. */
     ::rtl::Reference< ScAccessibleDataPilotControl > GetAccessibleControl();
 
        DECL_LINK( ScrollHdl, ScrollBar* );
diff --git a/main/sw/source/core/access/accportions.cxx 
b/main/sw/source/core/access/accportions.cxx
index 9ecefc750b..7c9060351c 100644
--- a/main/sw/source/core/access/accportions.cxx
+++ b/main/sw/source/core/access/accportions.cxx
@@ -663,7 +663,7 @@ sal_uInt16 SwAccessiblePortionData::FillSpecialPos(
              sAccessibleString.getStr()[nPos]) )
         {
             // case 1: a one-character, non-text portion
-            // reference position is the first accessibilty for our
+            // reference position is the first accessibility for our
             // core portion
             nRefPos = aAccessiblePositions[ nCorePortionNo ];
             nExtend = SP_EXTEND_RANGE_NONE;
diff --git a/main/vcl/source/window/dockmgr.cxx 
b/main/vcl/source/window/dockmgr.cxx
index dcab8ff47d..7987f6dace 100644
--- a/main/vcl/source/window/dockmgr.cxx
+++ b/main/vcl/source/window/dockmgr.cxx
@@ -580,12 +580,12 @@ ImplPopupFloatWin::~ImplPopupFloatWin()
 
 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible 
> ImplPopupFloatWin::CreateAccessible()
 {
-    // switch off direct accessibilty support for this window
+    // switch off direct accessibility support for this window
 
     // this is to avoid appearance of this window as standalone window in the 
accessibility hierarchy
     // as this window is only used as a helper for subtoolbars that are not 
teared-off, the parent toolbar
     // has to provide accessibility support (as implemented in the toolkit) 
-    // so the contained toolbar should appear as child of the correponsing 
toolbar item of the parent toolbar
+    // so the contained toolbar should appear as child of the corresponding 
toolbar item of the parent toolbar
     return ::com::sun::star::uno::Reference< 
::com::sun::star::accessibility::XAccessible >();
 }
 

Reply via email to