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 abfbd45ab9 Fix spelling (#217)
abfbd45ab9 is described below

commit abfbd45ab9c232a6256d927aa27fe09a250de2cc
Author: John Bampton <[email protected]>
AuthorDate: Tue Jun 11 20:06:46 2024 +1000

    Fix spelling (#217)
    
    Thanks!
    Also corrected some Windows CRLF.
---
 main/comphelper/source/misc/accessiblewrapper.cxx  |  4 +-
 main/drawinglayer/source/tools/converters.cxx      |  2 +-
 main/filter/source/msfilter/msocximex.cxx          |  2 +-
 .../main/java/ifc/frame/_XDispatchRecorder.java    |  2 +-
 .../src/main/java/lib/MultiMethodTest.java         |  2 +-
 .../ui/slidesorter/cache/SlsCacheCompactor.hxx     |  2 +-
 main/svgio/source/svgreader/svgnode.cxx            | 64 +++++++++++-----------
 .../com/sun/star/wizards/web/TOCPreview.java       |  2 +-
 8 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/main/comphelper/source/misc/accessiblewrapper.cxx 
b/main/comphelper/source/misc/accessiblewrapper.cxx
index f8dbe9e7a2..7fb5fde3e0 100644
--- a/main/comphelper/source/misc/accessiblewrapper.cxx
+++ b/main/comphelper/source/misc/accessiblewrapper.cxx
@@ -139,7 +139,7 @@ namespace comphelper
                        return xValue;
                }
 
-               // do we have this child in the cahce?
+               // do we have this child in the cache?
                AccessibleMap::const_iterator aPos = m_aChildrenMap.find( 
_rxKey );
                if ( m_aChildrenMap.end() != aPos )
                {
@@ -277,7 +277,7 @@ namespace comphelper
         {
                        OSL_ENSURE( sal_False,
                        "OWrappedAccessibleChildrenManager::disposing: where 
did this come from?" );
-            // helper for dignostics
+            // helper for diagnostics
             Reference< XAccessible > xOwningAccessible( m_aOwningAccessible );
             Reference< XAccessibleContext > xContext;
             try
diff --git a/main/drawinglayer/source/tools/converters.cxx 
b/main/drawinglayer/source/tools/converters.cxx
index bd61776103..ad1e34bb0b 100644
--- a/main/drawinglayer/source/tools/converters.cxx
+++ b/main/drawinglayer/source/tools/converters.cxx
@@ -132,7 +132,7 @@ namespace drawinglayer
                     pContentProcessor->process(xSeq);
                     delete pContentProcessor;
 
-                    // get alpha cahannel from vdev
+                    // get alpha channel from vdev
                     maContent.EnableMapMode(false);
                     const Bitmap aAlpha(maContent.GetBitmap(aEmptyPoint, 
aSizePixel));
 #ifdef DBG_UTIL
diff --git a/main/filter/source/msfilter/msocximex.cxx 
b/main/filter/source/msfilter/msocximex.cxx
index ebcb1f475a..989d569c61 100644
--- a/main/filter/source/msfilter/msocximex.cxx
+++ b/main/filter/source/msfilter/msocximex.cxx
@@ -116,7 +116,7 @@ long ReadAlign(SvStorageStream *pS, long nPos, int nAmount)
 // or embedded in the document.
 
 // [out]location     path to the stream to where the image is to be stored,
-//               if same name exists in folder then this function calcuates a 
new name
+//               if same name exists in folder then this function calculates a 
new name
 // [in] data     raw bytes of image to be stored.
 // [in] dataLen  no. byte to be stored
 //
diff --git 
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchRecorder.java 
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchRecorder.java
index 7ef453b33d..a2aa8efdd0 100644
--- 
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchRecorder.java
+++ 
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchRecorder.java
@@ -78,7 +78,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
         
         oObj.startRecording(xFrame);
         
-        log.println("dispatch calles via API must be recorded");
+        log.println("dispatch calls via API must be recorded");
         dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), 
".uno:InsertText");
 
         PropertyValue prop = new PropertyValue();
diff --git 
a/main/qadevOOo/java/OOoRunner/src/main/java/lib/MultiMethodTest.java 
b/main/qadevOOo/java/OOoRunner/src/main/java/lib/MultiMethodTest.java
index 92d0e2c170..abee66dae4 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/lib/MultiMethodTest.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/lib/MultiMethodTest.java
@@ -132,7 +132,7 @@ public class MultiMethodTest
      * Runs the interface test: its method tests. First, it initializes some
      * of MultiMethodTest fields, like tRes, log, tEnv, etc. Then, it queries
      * the tested interface and initializes 'oObj' field (defined in a
-     * subclass). Before calling method tests, before() method calles to allow
+     * subclass). Before calling method tests, before() method calls to allow
      * initialization of s stuff before testing. Then, the method tests are
      * called. After them, after() method is called, to allow cleaning up the
      * stuff initialized in before() and test methods.
diff --git a/main/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx 
b/main/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
index 6000cb26b6..22a6e6856c 100644
--- a/main/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
+++ b/main/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
@@ -80,7 +80,7 @@ protected:
     virtual void Run (void) = 0;
     
 private:
-    /** This timer is used to collect calles to RequestCompaction() and
+    /** This timer is used to collect calls to RequestCompaction() and
         eventually call Run().
     */
     Timer maCompactionTimer;
diff --git a/main/svgio/source/svgreader/svgnode.cxx 
b/main/svgio/source/svgreader/svgnode.cxx
index 0c3579326d..3fcb4e63d1 100644
--- a/main/svgio/source/svgreader/svgnode.cxx
+++ b/main/svgio/source/svgreader/svgnode.cxx
@@ -56,7 +56,7 @@ namespace svgio
 
             if(rDocument.hasGlobalCssStyleAttributes())
             {
-                const SvgNode* pParent = rCurrent.getParent();
+                const SvgNode* pParent = rCurrent.getParent();
 
                 // check for ID (highest priority)
                 if(rCurrent.getId())
@@ -76,14 +76,14 @@ namespace svgio
                             
fillCssStyleVectorUsingHierarchyAndSelectors(rClassStr, *pParent, 
aNewConcatenated);
                         }
 
-                        const SvgStyleAttributes* pNew = 
rDocument.findGlobalCssStyleAttributes(aNewConcatenated);
-
-                        if(pNew)
-                        {
-                            // add CssStyle if found
+                        const SvgStyleAttributes* pNew = 
rDocument.findGlobalCssStyleAttributes(aNewConcatenated);
+
+                        if(pNew)
+                        {
+                            // add CssStyle if found
                             maCssStyleVector.push_back(pNew);
-                        }
-                    }
+                        }
+                    }
                 }
 
                 // check for 'class' references (a list of entries is allowed)
@@ -130,13 +130,13 @@ namespace svgio
                                 
fillCssStyleVectorUsingHierarchyAndSelectors(rClassStr, *pParent, 
aNewConcatenated);
                             }
 
-                            const SvgStyleAttributes* pNew = 
rDocument.findGlobalCssStyleAttributes(aNewConcatenated);
-
-                            if(pNew)
-                            {
-                                // add CssStyle if found
+                            const SvgStyleAttributes* pNew = 
rDocument.findGlobalCssStyleAttributes(aNewConcatenated);
+
+                            if(pNew)
+                            {
+                                // add CssStyle if found
                                 maCssStyleVector.push_back(pNew);
-                            }
+                            }
                         }
                     }
                 }
@@ -162,13 +162,13 @@ namespace svgio
                         
fillCssStyleVectorUsingHierarchyAndSelectors(rClassStr, *pParent, 
aNewConcatenated);
                     }
 
-                    const SvgStyleAttributes* pNew = 
rDocument.findGlobalCssStyleAttributes(aNewConcatenated);
-
-                    if(pNew)
-                    {
-                        // add CssStyle if found
+                    const SvgStyleAttributes* pNew = 
rDocument.findGlobalCssStyleAttributes(aNewConcatenated);
+
+                    if(pNew)
+                    {
+                        // add CssStyle if found
                         maCssStyleVector.push_back(pNew);
-                    }
+                    }
                 }
             }
         }
@@ -178,7 +178,7 @@ namespace svgio
             OSL_ENSURE(!mbCssStyleVectorBuilt, "OOps, fillCssStyleVector 
called double ?!?");
             mbCssStyleVectorBuilt = true;
 
-            // #125293# If we have CssStyles we need to buuild a linked list 
of SvgStyleAttributes
+            // #125293# If we have CssStyles we need to build a linked list of 
SvgStyleAttributes
             // which represent this for the current object. There are various 
methods to
             // specify CssStyles which need to be taken into account in a 
given order:
             // - local CssStyle (independent from global CssStyles at 
SvgDocument)
@@ -201,15 +201,15 @@ namespace svgio
 
             // check the hierarchy for concatenated patterns of Selectors
             fillCssStyleVectorUsingHierarchyAndSelectors(rClassStr, *this, 
rtl::OUString());
-
-            // #125329# find Css selector '*', add as last element if found
-            const SvgStyleAttributes* pNew = 
getDocument().findGlobalCssStyleAttributes(rtl::OUString::createFromAscii("*"));
-
-            if(pNew)
-            {
-                // add CssStyle for selector '*' if found
+
+            // #125329# find Css selector '*', add as last element if found
+            const SvgStyleAttributes* pNew = 
getDocument().findGlobalCssStyleAttributes(rtl::OUString::createFromAscii("*"));
+
+            if(pNew)
+            {
+                // add CssStyle for selector '*' if found
                 maCssStyleVector.push_back(pNew);
-            }
+            }
         }
 
         const SvgStyleAttributes* SvgNode::checkForCssStyle(const 
rtl::OUString& rClassStr, const SvgStyleAttributes& rOriginal) const
@@ -222,7 +222,7 @@ namespace svgio
 
             if(maCssStyleVector.empty())
             {
-                // return given original if no CssStlyes found
+                // return given original if no CssStyles found
                 return &rOriginal;
             }
             else
@@ -241,7 +241,7 @@ namespace svgio
                 // only changing some pointers.
                 // The alternative would be to create the style hierarchy for 
every element (or even 
                 // for the element containing the hierarchy) in a vector of 
pointers and to use that.
-                // Resetting the CssStyleParent on rOriginal is probably not 
needeed 
+                // Resetting the CssStyleParent on rOriginal is probably not 
needed
                 // but simply safer to do.
                 const_cast< SvgStyleAttributes& 
>(rOriginal).setCssStyleParent(0);
 
@@ -542,7 +542,7 @@ namespace svgio
                     // in a defs node (which gets not decomposed by itself), 
but you never
                     // know
 
-                    // also not directly used are Markers and Patterns, only 
indirecty used
+                    // also not directly used are Markers and Patterns, only 
indirectly used
                     // by reference
 
                     // #121656# also do not decompose nodes which have 
display="none" set
diff --git a/main/wizards/com/sun/star/wizards/web/TOCPreview.java 
b/main/wizards/com/sun/star/wizards/web/TOCPreview.java
index 68c16754ad..f04238ff17 100644
--- a/main/wizards/com/sun/star/wizards/web/TOCPreview.java
+++ b/main/wizards/com/sun/star/wizards/web/TOCPreview.java
@@ -89,7 +89,7 @@ public class TOCPreview
 
     /**
      * generates a TOC, copies the layout-specific files, and
-     * calles a browser to show "index.html".
+     * calls a browser to show "index.html".
      * @param settings
      * @throws Exception
      */

Reply via email to