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

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


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 92f0604bdf Fix spelling in code comments (#208)
92f0604bdf is described below

commit 92f0604bdf90d8ceee3eab81d985f1b8cb0df22b
Author: John Bampton <[email protected]>
AuthorDate: Mon Apr 1 23:11:11 2024 +1000

    Fix spelling in code comments (#208)
    
    * Fix spelling in code comments
    
    * Update ImageControl.cxx
    
    ---------
    
    Co-authored-by: Matthias Seidel <[email protected]>
    (cherry picked from commit 604463aab236cbd58e239a75c72bcfcf83f4ecac)
---
 main/forms/source/component/ImageControl.cxx | 2 +-
 main/forms/source/misc/limitedformats.cxx    | 2 +-
 main/oox/source/core/filterdetect.cxx        | 2 +-
 main/sal/inc/rtl/bootstrap.h                 | 2 +-
 main/sc/source/ui/unoobj/shapeuno.cxx        | 4 ++--
 main/sw/source/core/unocore/unodraw.cxx      | 4 ++--
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/main/forms/source/component/ImageControl.cxx 
b/main/forms/source/component/ImageControl.cxx
index 6637fa803a..e8d333e15c 100644
--- a/main/forms/source/component/ImageControl.cxx
+++ b/main/forms/source/component/ImageControl.cxx
@@ -221,7 +221,7 @@ StringSequence      
OImageControlModel::getSupportedServiceNames() throw()
 
//------------------------------------------------------------------------------
 Any SAL_CALL OImageControlModel::queryAggregation(const Type& _rType) throw 
(RuntimeException)
 {
-    // oder matters: we want to "override" the XImageProducer interface of the 
aggreate with out
+    // order matters: we want to "override" the XImageProducer interface of 
the aggregate with out
     // own XImageProducer interface, thus we need to query 
OImageControlModel_Base first
     Any aReturn = OImageControlModel_Base::queryInterface( _rType );
 
diff --git a/main/forms/source/misc/limitedformats.cxx 
b/main/forms/source/misc/limitedformats.cxx
index f5d2e488ae..c2806cf4f4 100644
--- a/main/forms/source/misc/limitedformats.cxx
+++ b/main/forms/source/misc/limitedformats.cxx
@@ -355,7 +355,7 @@ namespace frm
                if (m_xAggregate.is())
                {       // this is to be called after 
convertFormatKeyPropertyValue, where
                        // we translated the format key into a enum value.
-                       // So now we can simply forward this enum value to our 
aggreate
+                       // So now we can simply forward this enum value to our 
aggregate
                        
m_xAggregate->setFastPropertyValue(m_nFormatEnumPropertyHandle, _rNewValue);
                }
        }
diff --git a/main/oox/source/core/filterdetect.cxx 
b/main/oox/source/core/filterdetect.cxx
index b04ec8b760..6860e0fff2 100644
--- a/main/oox/source/core/filterdetect.cxx
+++ b/main/oox/source/core/filterdetect.cxx
@@ -358,7 +358,7 @@ Reference< XInputStream > 
FilterDetect::extractUnencryptedPackage( MediaDescript
         // read the encryption info stream
         ::boost::shared_ptr< EncryptionInfo > encryptionInfo( 
EncryptionInfo::readEncryptionInfo( mxContext, xEncryptionInfo ) );
 
-        // check flags and agorithm IDs, requiered are AES128 and SHA-1
+        // check flags and algorithm IDs, required are AES128 and SHA-1
         bool bImplemented = encryptionInfo->isImplemented();
         if( bImplemented )
         {
diff --git a/main/sal/inc/rtl/bootstrap.h b/main/sal/inc/rtl/bootstrap.h
index 3107282717..6d48b476ec 100644
--- a/main/sal/inc/rtl/bootstrap.h
+++ b/main/sal/inc/rtl/bootstrap.h
@@ -166,7 +166,7 @@ rtlBootstrapHandle SAL_CALL 
rtl_bootstrap_args_open(rtl_uString * pIniName)
     SAL_THROW_EXTERN_C();
 
 /** 
-   Closes a boostrap agument container.
+   Closes a boostrap argument container.
    @param handle [in]     The handle got by 
<code>rtl_bootstrap_args_open()</code>
 */
 void SAL_CALL rtl_bootstrap_args_close(rtlBootstrapHandle handle)
diff --git a/main/sc/source/ui/unoobj/shapeuno.cxx 
b/main/sc/source/ui/unoobj/shapeuno.cxx
index 4e471838d7..160493eeca 100644
--- a/main/sc/source/ui/unoobj/shapeuno.cxx
+++ b/main/sc/source/ui/unoobj/shapeuno.cxx
@@ -1339,12 +1339,12 @@ uno::Sequence<sal_Int8> SAL_CALL 
ScShapeObj::getImplementationId()
         if( xAggShape.is() )
                {
             const rtl::OUString aShapeType( xAggShape->getShapeType() );
-            // did we already compute an implementation id for the agregated 
shape type?
+            // did we already compute an implementation id for the aggregated 
shape type?
             ScShapeImplementationIdMap::iterator aIter( 
aImplementationIdMap.find(aShapeType ) );
                        if( aIter == aImplementationIdMap.end() )
                        {
                                // we need to create a new implementation id 
for this
-                               // note: this memory is not free'd until 
application exists
+                               // note: this memory is not freed until 
application exists
                                //               but since we have a fixed set 
of shapetypes and the
                                //               memory will be reused this is 
ok.
                 pImplementationId = new uno::Sequence< sal_Int8 >( 16 );
diff --git a/main/sw/source/core/unocore/unodraw.cxx 
b/main/sw/source/core/unocore/unodraw.cxx
index a1a9d5f25e..012b5c4616 100644
--- a/main/sw/source/core/unocore/unodraw.cxx
+++ b/main/sw/source/core/unocore/unodraw.cxx
@@ -1077,12 +1077,12 @@ uno::Sequence< sal_Int8 > 
SwXShape::getImplementationId(  ) throw(uno::RuntimeEx
         if( xAggShape.is() )
                {
             const rtl::OUString aShapeType( xAggShape->getShapeType() );
-            // did we already compute an implementation id for the agregated 
shape type?
+            // did we already compute an implementation id for the aggregated 
shape type?
             SwShapeImplementationIdMap::iterator aIter( 
aImplementationIdMap.find(aShapeType ) );
                        if( aIter == aImplementationIdMap.end() )
                        {
                                // we need to create a new implementation id 
for this
-                               // note: this memory is not free'd until 
application exists
+                               // note: this memory is not freed until 
application exists
                                //               but since we have a fixed set 
of shapetypes and the
                                //               memory will be reused this is 
ok.
                 pImplementationId = new uno::Sequence< sal_Int8 >( 16 );

Reply via email to