From 83eee9bc57c9e0d12cd5a2b89fa040cfeaf21e9a Mon Sep 17 00:00:00 2001
From: John Bampton
Date: Mon, 1 Apr 2024 20:04:21 +1000
Subject: [PATCH 1/2] Fix spelling in code comments and descriptions only
---
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 +-
.../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 @@
Ocke Janssen
org.openoffice.comp.dbu.JoinViewAccessibility
- Represents the accessiblity view port for the connection and the tables in the query design.
+ Represents the accessibility view port for the connection and the tables in the query design.
com.sun.star.loader.SharedLibrary
c++
@@ -116,7 +116,7 @@
Ocke Janssen
org.openoffice.comp.dbu.TableWindowAccessibility
- Represents the accessiblity object for a table in the query design.
+ Represents the accessibility object for a table in the query design.
com.sun.star.loader.SharedLibrary
c++
@@ -126,7 +126,7 @@
Ocke Janssen
org.openoffice.comp.dbu.ConnectionLineAccessibility
- Represents the accessiblity object for the connection between two tables in the query design.
+ Represents the accessibility object for the connection between two tables in the query design.
com.sun.star.loader.SharedLibrary
c++
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.
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 jfw_addJRELocation
or jfw_setJRELocations
to find JREs. Found JREs are examined in the same way.
diff --git a/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl b/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl
index fbe4bd3491..1c81d9719e 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.
- This exception is thrown to indicate the an accessibilty component
+
This exception is thrown to indicate the an accessibility component
has been queried for state information that it can not provide. Used by
XAccessibleContext::getLocale.
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 >();
}
From 80244419075ac9ac92a3cd4cb399358702aa11a6 Mon Sep 17 00:00:00 2001
From: Matthias Seidel
Date: Mon, 1 Apr 2024 12:22:00 +0200
Subject: [PATCH 2/2] Update IllegalAccessibleComponentStateException.idl
---
.../accessibility/IllegalAccessibleComponentStateException.idl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl b/main/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl
index 1c81d9719e..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.
- This exception is thrown to indicate the an accessibility component
+
This exception is thrown to indicate that an accessibility component
has been queried for state information that it can not provide. Used by
XAccessibleContext::getLocale.