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

commit 0ba51277dcadf5446227c21ffd366f1895b67f0a
Author: mseidel <msei...@apache.org>
AuthorDate: Mon Feb 3 01:53:08 2025 +0100

    Fixed typo (obejct -> object) and some other
---
 main/oox/inc/oox/core/filterbase.hxx               | 16 +++++-----
 main/sc/source/ui/docshell/docfunc.cxx             | 22 +++++--------
 main/sc/source/ui/inc/drwtrans.hxx                 | 15 ++++-----
 main/sc/source/ui/vba/vbawindow.cxx                | 13 ++++----
 main/svx/inc/svx/svdotext.hxx                      | 16 +++++-----
 .../source/accessibility/ChildrenManagerImpl.hxx   | 16 +++++-----
 main/svx/source/svdraw/svdpage.cxx                 | 37 ++++++++++------------
 .../com/sun/star/wizards/ui/event/DataAware.java   | 17 +++++-----
 8 files changed, 71 insertions(+), 81 deletions(-)

diff --git a/main/oox/inc/oox/core/filterbase.hxx 
b/main/oox/inc/oox/core/filterbase.hxx
index 594f9b22ce..3e12918f7a 100644
--- a/main/oox/inc/oox/core/filterbase.hxx
+++ b/main/oox/inc/oox/core/filterbase.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #ifndef OOX_CORE_FILTERBASE_HXX
 #define OOX_CORE_FILTERBASE_HXX
 
@@ -200,7 +198,7 @@ public:
         the imported document. */
     ModelObjectHelper&  getModelObjectHelper() const;
 
-    /** Returns a helper for the handling of OLE obejcts. */
+    /** Returns a helper for the handling of OLE objects. */
     ::oox::ole::OleObjectHelper& getOleObjectHelper() const;
 
     /** Returns the VBA project manager. */
@@ -239,7 +237,7 @@ public:
             com.sun.star.lang.XMultiServiceFactory interface of the global
             service factory. The optional second argument may contain a
             sequence of com.sun.star.beans.NamedValue objects. The different
-            filter implemetations may support different arguments.
+            filter implementations may support different arguments.
      */
     virtual void SAL_CALL initialize(
                             const ::com::sun::star::uno::Sequence< 
::com::sun::star::uno::Any >& rArgs )
@@ -304,3 +302,5 @@ private:
 } // namespace oox
 
 #endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/sc/source/ui/docshell/docfunc.cxx 
b/main/sc/source/ui/docshell/docfunc.cxx
index 4b016b51d5..263f2764d4 100644
--- a/main/sc/source/ui/docshell/docfunc.cxx
+++ b/main/sc/source/ui/docshell/docfunc.cxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,25 +7,21 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_sc.hxx"
 
-
-
 // INCLUDE ---------------------------------------------------------------
 
 #include "scitems.hxx"
@@ -888,7 +884,7 @@ sal_Bool ScDocFunc::PutData( const ScAddress& rPos, 
ScEditEngineDefaulter& rEngi
        if ( bEditCell )
        {
         // #i61702# With bLoseContent set, the content of rEngine isn't 
restored
-        // (used in loading XML, where after the removeActionLock call the API 
obejct's
+        // (used in loading XML, where after the removeActionLock call the API 
object's
         // EditEngine isn't accessed again.
         sal_Bool bLoseContent = pDoc->IsImportingXML();
 
@@ -1145,7 +1141,7 @@ bool ScDocFunc::ReplaceNote( const ScAddress& rPos, const 
String& rNoteText, con
             aOldData = pOldNote->GetNoteData();
         }
 
-        // collect drawing undo actions for deleting/inserting caption obejcts
+        // collect drawing undo actions for deleting/inserting caption objects
         if( pUndoMgr )
             pDrawLayer->BeginCalcUndo(false);
 
@@ -2472,7 +2468,7 @@ sal_Bool ScDocFunc::MoveBlock( const ScRange& rSource, 
const ScAddress& rDestPos
         clipdoc does not contain a drawing layer.
         #i102056# Passing IDF_NOTE only would overwrite cell contents with
         empty note cells, therefore the special modifier IDF_ADDNOTES is passed
-        here too which changes the behaviour of ScColumn::CopyFromClip() to not
+        here too which changes the behavior of ScColumn::CopyFromClip() to not
         touch existing cells. */
        if ( pClipDoc->GetDrawLayer() )
         pDoc->CopyFromClip( aPasteDest, aDestMark, IDF_NOTE | IDF_ADDNOTES | 
IDF_OBJECTS,
@@ -4885,6 +4881,4 @@ sal_Bool ScDocFunc::InsertAreaLink( const String& rFile, 
const String& rFilter,
        return sal_True;
 }
 
-
-
-
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/sc/source/ui/inc/drwtrans.hxx 
b/main/sc/source/ui/inc/drwtrans.hxx
index 7bd5afd8dc..b8a131c2c5 100644
--- a/main/sc/source/ui/inc/drwtrans.hxx
+++ b/main/sc/source/ui/inc/drwtrans.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #ifndef SC_DRWTRANS_HXX
 #define SC_DRWTRANS_HXX
 
@@ -33,7 +31,6 @@
 #include "charthelper.hxx"
 #include "rangelst.hxx"
 
-
 class SdrModel;
 class ScDocShell;
 class INetBookmark;
@@ -60,7 +57,7 @@ private:
        sal_Bool                                                        
bGrIsBit;
        sal_Bool                                                        bOleObj;
                                                                        // 
source information for drag&drop:
-                                                                       // 
(view is needed to handle drawing obejcts)
+                                                                       // 
(view is needed to handle drawing objects)
        SdrView*                                                pDragSourceView;
        sal_uInt16                                                      
nDragSourceFlags;
        sal_Bool                                                        
bDragWasInternal;
@@ -109,3 +106,5 @@ public:
 };
 
 #endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/sc/source/ui/vba/vbawindow.cxx 
b/main/sc/source/ui/vba/vbawindow.cxx
index 8c8a9c9bb4..252dc4a96b 100644
--- a/main/sc/source/ui/vba/vbawindow.cxx
+++ b/main/sc/source/ui/vba/vbawindow.cxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,19 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
 #include <vbahelper/helperdecl.hxx>
 #include "vbawindow.hxx"
 #include "vbaworksheets.hxx"
@@ -217,7 +216,7 @@ ScVbaWindow::init()
 {
     /*  This method is called from the constructor, thus the own refcount is
         still zero. The implementation of ActivePane() uses a UNO reference of
-        this (to set this window as parent of the pane obejct). This requires
+        this (to set this window as parent of the pane object). This requires
         the own refcount to be non-zero, otherwise this instance will be
         desctructed immediately! Guard the call to ActivePane() in try/catch to
         not miss the decrementation of the reference count on exception. */
@@ -901,3 +900,5 @@ extern sdecl::ServiceDecl const serviceDecl(
     "ScVbaWindow",
     "ooo.vba.excel.Window" );
 }
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/inc/svx/svdotext.hxx b/main/svx/inc/svx/svdotext.hxx
index a3f840db45..ad3f5b65a4 100644
--- a/main/svx/inc/svx/svdotext.hxx
+++ b/main/svx/inc/svx/svdotext.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #ifndef _SVDOTEXT_HXX
 #define _SVDOTEXT_HXX
 
@@ -229,7 +227,7 @@ protected:
        sal_Bool                                                bTextSizeDirty 
: 1;
 
        // #101684#
-       sal_Bool                                                mbInEditMode : 
1;       // Is this text obejct in edit mode?
+       sal_Bool                                                mbInEditMode : 
1;       // Is this text object in edit mode?
 
        // Fuer Objekt mit freier Groesse im Draw (Mengentext). Das Flag wird 
vom
        // der App beim Create gesetzt.
@@ -397,7 +395,7 @@ public:
        // Feststellen, ob TextFontwork
        virtual FASTBOOL IsFontwork() const;
 
-       // Soll die Fontwork-Kontour versteckt werden?
+       // Soll die Fontwork-Kontur versteckt werden?
        FASTBOOL IsHideContour() const;
 
        // Textfluss innerhalb Kontur
@@ -608,3 +606,5 @@ public:
 
////////////////////////////////////////////////////////////////////////////////////////////////////
 
 #endif //_SVDOTEXT_HXX
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/source/accessibility/ChildrenManagerImpl.hxx 
b/main/svx/source/accessibility/ChildrenManagerImpl.hxx
index 8f26d1f045..f4e132e733 100644
--- a/main/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/main/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #ifndef _SVX_ACCESSIBILITY_CHILDREN_MANAGER_IMPL_HXX
 
 #include <svx/IAccessibleViewForwarderListener.hxx>
@@ -356,7 +354,7 @@ protected:
     AccessibleShapeTreeInfo maShapeTreeInfo;
 
     /** Reference to an accessible context object that is used to inform its
-        listeners of new and remved children.
+        listeners of new and removed children.
     */
     AccessibleContextBase& mrContext;
 
@@ -441,7 +439,7 @@ private:
         create the missing accessible objects now.
         @param raDescriptorList
             Create an accessible object for every member of this list where
-            that obejct does not already exist.
+            that object does not already exist.
     */
     void CreateAccessibilityObjects (ChildDescriptorListType& raChildList);
 
@@ -580,3 +578,5 @@ public:
 } // end of namespace accessibility
 
 #endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svx/source/svdraw/svdpage.cxx 
b/main/svx/source/svdraw/svdpage.cxx
index ca12e75818..c88a0af10c 100644
--- a/main/svx/source/svdraw/svdpage.cxx
+++ b/main/svx/source/svdraw/svdpage.cxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,20 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_svx.hxx"
 
@@ -136,7 +134,7 @@ SdrObjList::~SdrObjList()
 
        // #111111#
        // To avoid that the Clear() method will broadcast changes when in 
destruction
-       // which would call virtual methos (not allowed in destructor), the 
model is set
+       // which would call virtual methods (not allowed in destructor), the 
model is set
        // to NULL here.
        pModel = 0L;
 
@@ -252,7 +250,7 @@ void SdrObjList::Clear()
         RemoveObjectFromContainer(maList.size()-1);
 
                // flushViewObjectContacts() is done since SdrObject::Free is 
not guaranteed
-               // to delete the object and thus refresh visualisations
+               // to delete the object and thus refresh visualizations
         pObj->GetViewContact().flushViewObjectContacts(true);
 
                bObjectsRemoved = sal_True;
@@ -369,7 +367,7 @@ void SdrObjList::NbcInsertObject(SdrObject* pObj, 
sal_uIntPtr nPos, const SdrIns
                pObj->SetPage(pPage);
 
                // #110094# Inform the parent about change to allow 
invalidations at
-               // evtl. existing parent visualisations
+               // evtl. existing parent visualizations
                impChildInserted(*pObj);
 
                if (!bRectsDirty) {
@@ -495,7 +493,7 @@ SdrObject* SdrObjList::RemoveObject(sal_uIntPtr nObjNum)
                if(pOwnerObj && !GetObjCount())
                {
                        // empty group created; it needs to be repainted since 
it's
-                       // visualisation changes
+                       // visualization changes
                        pOwnerObj->ActionChanged();
                }
        }
@@ -528,7 +526,7 @@ SdrObject* SdrObjList::NbcReplaceObject(SdrObject* pNewObj, 
sal_uIntPtr nObjNum)
                pNewObj->SetPage(pPage);
 
                // #110094#  Inform the parent about change to allow 
invalidations at
-               // evtl. existing parent visualisations
+               // evtl. existing parent visualizations
                impChildInserted(*pNewObj);
 
                pNewObj->SetInserted(sal_True);
@@ -575,7 +573,7 @@ SdrObject* SdrObjList::ReplaceObject(SdrObject* pNewObj, 
sal_uIntPtr nObjNum)
                pNewObj->SetPage(pPage);
 
                // #110094#  Inform the parent about change to allow 
invalidations at
-               // evtl. existing parent visualisations
+               // evtl. existing parent visualizations
                impChildInserted(*pNewObj);
 
                pNewObj->SetInserted(sal_True);
@@ -611,7 +609,7 @@ SdrObject* SdrObjList::NbcSetObjectOrdNum(sal_uIntPtr 
nOldObjNum, sal_uIntPtr nN
 
         InsertObjectIntoContainer(*pObj,nNewObjNum);
 
-               // #110094# No need to delete visualisation data since same 
object
+               // #110094# No need to delete visualization data since same 
object
                // gets inserted again. Also a single ActionChanged is enough
                pObj->ActionChanged();
 
@@ -638,7 +636,7 @@ SdrObject* SdrObjList::SetObjectOrdNum(sal_uIntPtr 
nOldObjNum, sal_uIntPtr nNewO
                RemoveObjectFromContainer(nOldObjNum);
                InsertObjectIntoContainer(*pObj,nNewObjNum);
 
-               // #110094#No need to delete visualisation data since same 
object
+               // #110094#No need to delete visualization data since same 
object
                // gets inserted again. Also a single ActionChanged is enough
                pObj->ActionChanged();
 
@@ -668,7 +666,7 @@ const Rectangle& SdrObjList::GetAllObjBoundRect() const
     // #i106183# for deep group hierarchies like in chart2, the invalidates
     // through the hierarchy are not correct; use a 2nd hint for the needed
     // recalculation. Future versions will have no bool flag at all, but
-    // just aOutRect in empty state to representate an invalid state, thus
+    // just aOutRect in empty state to represent an invalid state, thus
     // it's a step in the right direction.
        if (bRectsDirty || aOutRect.IsEmpty())
     {
@@ -722,7 +720,7 @@ void SdrObjList::ReformatAllTextObjects()
 
 /** steps over all available objects and reformats all
        edge objects that are connected to other objects so that
-       they may reposition itselfs.
+       they may reposition itself.
        #103122#
 */
 void SdrObjList::ReformatAllEdgeObjects()
@@ -1489,7 +1487,7 @@ void SdrPage::operator=(const SdrPage& rSrcPage)
         
mpSdrPageProperties->SetStyleSheet(rSrcPage.getSdrPageProperties().GetStyleSheet());
     }
 
-    // Now copy the contained obejcts (by cloning them)
+    // Now copy the contained objects (by cloning them)
        SdrObjList::operator=(rSrcPage);
 }
 
@@ -1703,7 +1701,7 @@ void SdrPage::SetPageNum(sal_uInt16 nNew)
                // change
                nPageNum = nNew;
 
-               // notify visualisations, also notifies e.g. buffered 
MasterPages
+               // notify visualizations, also notifies e.g. buffered 
MasterPages
                ActionChanged();
        }
 }
@@ -2041,5 +2039,4 @@ drawinglayer::primitive2d::Primitive2DSequence 
StandardCheckVisisbilityRedirecto
        }
 }
 
-//////////////////////////////////////////////////////////////////////////////
-// eof
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/wizards/com/sun/star/wizards/ui/event/DataAware.java 
b/main/wizards/com/sun/star/wizards/ui/event/DataAware.java
index c05ed4162c..f9f3f22d6e 100644
--- a/main/wizards/com/sun/star/wizards/ui/event/DataAware.java
+++ b/main/wizards/com/sun/star/wizards/ui/event/DataAware.java
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,19 +7,18 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
 package com.sun.star.wizards.ui.event;
 
 import java.lang.reflect.InvocationTargetException;
@@ -36,8 +35,8 @@ import com.sun.star.wizards.common.PropertyNames;
  * This class, as a base abstract class, sets a frame of functionality,
  * delegating the data Object get/set methods to a Value object,
  * and leaving the UI get/set methods abstract.
- * Note that event listenning is *not* a part of this model.
- * the updateData() or updateUI() methods should be porogramatically called.
+ * Note that event listening is *not* a part of this model.
+ * the updateData() or updateUI() methods should be programatically called.
  * in child classes, the updateData() will be binded to UI event calls.
  * <br><br>
  * This class holds references to a Data Object and a Value object.
@@ -108,7 +107,7 @@ public abstract class DataAware {
     }
 
     /**
-     * gets the current value from the data obejct.
+     * gets the current value from the data object.
      * this method delegates the job to 
      * the value object.
      * @return the current value of the data object.
@@ -193,7 +192,7 @@ public abstract class DataAware {
 
     /**
      * given a collection containing DataAware objects,
-     * calls updateUI() on each memebr of the collection.
+     * calls updateUI() on each member of the collection.
      * @param dataAwares a collection containing DataAware objects.
      */
     public static void updateUI(Collection dataAwares) {

Reply via email to