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 b71c92334b docs: fix spelling in code comments (#205)
b71c92334b is described below

commit b71c92334b8b956af4710940c97d98d2a1fe0f68
Author: John Bampton <jbamp...@users.noreply.github.com>
AuthorDate: Fri Feb 23 03:05:14 2024 +1000

    docs: fix spelling in code comments (#205)
    
    (cherry picked from commit 98d7f78d5fcc3b8cdebfeda4e90defaef3553ba5)
---
 main/sal/inc/osl/file.hxx                   |  4 ++--
 main/sw/source/core/doc/docnew.cxx          |  2 +-
 main/xmloff/source/forms/elementexport.hxx  |  2 +-
 main/xmloff/source/forms/formattributes.hxx | 12 ++++++------
 main/xmloff/source/forms/propertyexport.cxx |  2 +-
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/main/sal/inc/osl/file.hxx b/main/sal/inc/osl/file.hxx
index ea6010d632..2dc9c58b71 100644
--- a/main/sal/inc/osl/file.hxx
+++ b/main/sal/inc/osl/file.hxx
@@ -467,7 +467,7 @@ class VolumeInfo
 
        VolumeInfo( VolumeInfo& );
        
-       /** Assginment operator.
+       /** Assignment operator.
        */
        
        VolumeInfo& operator = ( VolumeInfo& );
@@ -910,7 +910,7 @@ class File: public FileBase
 
        File( File& );
        
-       /** Assginment operator.
+       /** Assignment operator.
        */
        
        File& operator = ( File& );
diff --git a/main/sw/source/core/doc/docnew.cxx 
b/main/sw/source/core/doc/docnew.cxx
index 0b3589f66c..9eb1505213 100644
--- a/main/sw/source/core/doc/docnew.cxx
+++ b/main/sw/source/core/doc/docnew.cxx
@@ -315,7 +315,7 @@ SwDoc::SwDoc()
     // It is also hard to find all places where the initial ItemSets for 
Writer (including
     // style hierarchies) are created and to always set (but only at the root) 
the FillStyle
     // to NONE fixed; that will add that attribute to the file format. It will 
be hard to reset
-    // attribbute sets (which is done at import and using UI). Also not a good 
solution.
+    // attribute sets (which is done at import and using UI). Also not a good 
solution.
     // Luckily Writer uses pDfltTxtFmtColl as default parent for all 
paragraphs and similar, thus
     // it is possible to set this attribute here. It will be not reset when 
importing.
     pDfltTxtFmtColl->SetFmtAttr(XFillStyleItem(XFILL_NONE));
diff --git a/main/xmloff/source/forms/elementexport.hxx 
b/main/xmloff/source/forms/elementexport.hxx
index 3add7858cd..2e2c0df161 100644
--- a/main/xmloff/source/forms/elementexport.hxx
+++ b/main/xmloff/source/forms/elementexport.hxx
@@ -159,7 +159,7 @@ namespace xmloff
 
         /** adds the attributes which are handled via generic IPropertyHandlers
 
-            <p>In the future, this really should be *all* attribiutes, instead 
of this shitload of
+            <p>In the future, this really should be *all* attributes, instead 
of this shitload of
             hand-crafted code we have currently ...</p>
         */
         void exportGenericHandlerAttributes();
diff --git a/main/xmloff/source/forms/formattributes.hxx 
b/main/xmloff/source/forms/formattributes.hxx
index 5b670ca46d..d7c06ea66e 100644
--- a/main/xmloff/source/forms/formattributes.hxx
+++ b/main/xmloff/source/forms/formattributes.hxx
@@ -264,7 +264,7 @@ namespace xmloff
                /** return the AttributeAssignment which corresponds to the 
given attribute
 
                        @param _rAttribName
-                               the name of the attrribute
+                               the name of the attribute
                        @return
                                a pointer to the 
<type>AttributeAssignment</type> structure as requested, NULL if the attribute
                                does not represent a property.
@@ -274,7 +274,7 @@ namespace xmloff
 
                /** add a attribute assignment referring to a string property 
to the map
                        @param _pAttributeName
-                               the name of the attrribute
+                               the name of the attribute
                        @param _rPropertyName
                                the name of the property assigned to the 
attribute
                        @param _pAttributeDefault
@@ -288,7 +288,7 @@ namespace xmloff
                /** add a attribute assignment referring to a boolean property 
to the map
 
                        @param _pAttributeName
-                               the name of the attrribute
+                               the name of the attribute
                        @param _rPropertyName
                                the name of the property assigned to the 
attribute
                        @param _bAttributeDefault
@@ -304,7 +304,7 @@ namespace xmloff
                /** add a attribute assignment referring to an int16 property 
to the map
 
                        @param _pAttributeName
-                               the name of the attrribute
+                               the name of the attribute
                        @param _rPropertyName
                                the name of the property assigned to the 
attribute
                        @param _nAttributeDefault
@@ -317,7 +317,7 @@ namespace xmloff
                /** add a attribute assignment referring to an int32 property 
to the map
 
                        @param _pAttributeName
-                               the name of the attrribute
+                               the name of the attribute
                        @param _rPropertyName
                                the name of the property assigned to the 
attribute
                        @param _nAttributeDefault
@@ -330,7 +330,7 @@ namespace xmloff
                /** add a attribute assignment referring to an enum property to 
the map
 
                        @param _pAttributeName
-                               the name of the attrribute
+                               the name of the attribute
                        @param _rPropertyName
                                the name of the property assigned to the 
attribute
                        @param _nAttributeDefault
diff --git a/main/xmloff/source/forms/propertyexport.cxx 
b/main/xmloff/source/forms/propertyexport.cxx
index a53409230e..ec67200157 100644
--- a/main/xmloff/source/forms/propertyexport.cxx
+++ b/main/xmloff/source/forms/propertyexport.cxx
@@ -488,7 +488,7 @@ namespace xmloff
                                return;
                }
 
-               // finally add the attribuite to the context
+               // finally add the attribute to the context
                AddAttribute(_nAttributeNamespaceKey, _pAttributeName, sValue);
        }
 

Reply via email to