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 cdfa2a0e24 Fix spelling in comments (#209)
cdfa2a0e24 is described below

commit cdfa2a0e248945df34d583b6091f49e81274c41e
Author: John Bampton <[email protected]>
AuthorDate: Tue Apr 2 02:11:55 2024 +1000

    Fix spelling in comments (#209)
---
 main/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx | 4 ++--
 main/dbaccess/source/ui/inc/JoinController.hxx                      | 4 ++--
 main/sd/source/ui/inc/fupoor.hxx                                    | 2 +-
 main/toolkit/source/awt/vclxtoolkit.cxx                             | 4 ++--
 main/toolkit/source/awt/vclxwindow1.cxx                             | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/main/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx 
b/main/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
index 9fde86bfcb..d296b5b52f 100644
--- a/main/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
+++ b/main/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
@@ -47,7 +47,7 @@ typedef ::cppu::ImplHelper3<
 
 /** Base class for list- and combo boxes.  This class manages the box'
     children.  The classed derived from this one have only to implement the
-    <member>IsValid</member> method and return the corrent implementation name.
+    <member>IsValid</member> method and return the current implementation name.
 */
 class VCLXAccessibleBox
     : public VCLXAccessibleComponent,
@@ -56,7 +56,7 @@ class VCLXAccessibleBox
 public:
     enum BoxType {COMBOBOX, LISTBOX};
 
-    /** The constructor is initialized with the box type whitch may be
+    /** The constructor is initialized with the box type which may be
         either <const>COMBOBOX</const> or <const>LISTBOX</const> and a flag
         indicating whether the box is a drop down box.
     */
diff --git a/main/dbaccess/source/ui/inc/JoinController.hxx 
b/main/dbaccess/source/ui/inc/JoinController.hxx
index 5caad5f800..ce475ce5f8 100644
--- a/main/dbaccess/source/ui/inc/JoinController.hxx
+++ b/main/dbaccess/source/ui/inc/JoinController.hxx
@@ -119,7 +119,7 @@ namespace dbaui
         // ---------------------------------------------------------------
         /** erase the data in the data vector
                        @param  _pData
-                                       the data whioch should be erased
+                                       the data which should be erased
                */
                void    removeConnectionData(const 
TTableConnectionData::value_type& _pData);
 
@@ -161,7 +161,7 @@ namespace dbaui
                TTableWindowData::value_type createTableWindowData(const 
::rtl::OUString& _sComposedName,const ::rtl::OUString& _sTableName,const 
::rtl::OUString& _sWindowName);
                // ask the user if the design should be saved when it is 
modified
                virtual short saveModified() = 0;
-               // called when the orignal state should be reseted (first time 
load)
+               // called when the original state should be reseted (first time 
load)
                virtual void reset()             = 0;
                virtual void describeSupportedFeatures();
 
diff --git a/main/sd/source/ui/inc/fupoor.hxx b/main/sd/source/ui/inc/fupoor.hxx
index d74bdeef1e..881c074ab1 100644
--- a/main/sd/source/ui/inc/fupoor.hxx
+++ b/main/sd/source/ui/inc/fupoor.hxx
@@ -156,7 +156,7 @@ protected:
            next layer.  If it is negative then select a previous one.  An
            offset or zero does not change the current layer.  If the
            resulting index lies outside the valid range of indices then it
-           is set to either the minimal or maximal valid index, whitchever
+           is set to either the minimal or maximal valid index, whichever
            is nearer.
     */
     void SwitchLayer (sal_Int32 nOffset);
diff --git a/main/toolkit/source/awt/vclxtoolkit.cxx 
b/main/toolkit/source/awt/vclxtoolkit.cxx
index 7fa6febbb6..deb5e20b7d 100644
--- a/main/toolkit/source/awt/vclxtoolkit.cxx
+++ b/main/toolkit/source/awt/vclxtoolkit.cxx
@@ -982,7 +982,7 @@ Window*     VCLXToolkit::ImplCreateWindow( VCLXWindow** 
ppNewComp,
                                                                
::com::sun::star::uno::Any anyHandle = 
xSystemDepParent->getWindowHandle(processIdSeq, SYSTEM_DEPENDENT_TYPE);
 
                                 // use sal_Int64 here to accommodate all int 
types
-                                // uno::Any shift operator whill upcast if 
necessary
+                                // uno::Any shift operator will upcast if 
necessary
                                 sal_Int64 nWindowHandle = 0;
                                 sal_Bool bXEmbed = sal_False;
 
@@ -1194,7 +1194,7 @@ css::uno::Reference< css::awt::XWindowPeer > 
VCLXToolkit::ImplCreateWindow(
        if ( nSystemType == SYSTEM_DEPENDENT_TYPE )
        {
         // use sal_Int64 here to accommodate all int types
-        // uno::Any shift operator whill upcast if necessary
+        // uno::Any shift operator will upcast if necessary
         sal_Int64 nWindowHandle = 0;
         sal_Bool bXEmbed = sal_False;
 
diff --git a/main/toolkit/source/awt/vclxwindow1.cxx 
b/main/toolkit/source/awt/vclxwindow1.cxx
index 7af49b5e16..1d97ea6c5c 100644
--- a/main/toolkit/source/awt/vclxwindow1.cxx
+++ b/main/toolkit/source/awt/vclxwindow1.cxx
@@ -59,7 +59,7 @@ void VCLXWindow::SetSystemParent_Impl( const 
com::sun::star::uno::Any& rHandle )
        }
 
     // use sal_Int64 here to accommodate all int types
-    // uno::Any shift operator whill upcast if necessary
+    // uno::Any shift operator will upcast if necessary
     sal_Int64 nHandle = 0;
     sal_Bool  bXEmbed = sal_False;
     bool bThrow = false;

Reply via email to