You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2025/01/15 14:39:08 UTC

(openoffice) branch trunk updated: Fix spelling (#250)

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 1c3951f9b9 Fix spelling (#250)
1c3951f9b9 is described below

commit 1c3951f9b9456c337336ef311075417c6bf39be4
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Jan 16 00:39:03 2025 +1000

    Fix spelling (#250)
---
 main/basic/inc/basic/sbuno.hxx                                      | 2 +-
 main/dtrans/source/win32/workbench/XTDo.hxx                         | 4 ++--
 .../main/java/com/sun/star/comp/bridgefactory/BridgeFactory.java    | 4 ++--
 main/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs      | 2 +-
 main/sd/source/ui/dlg/tpaction.cxx                                  | 4 ++--
 main/sd/source/ui/inc/framework/Pane.hxx                            | 2 +-
 main/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx               | 2 +-
 main/svx/source/accessibility/AccessibleShape.cxx                   | 6 +++---
 main/svx/source/accessibility/DGColorNameLookUp.cxx                 | 4 ++--
 main/sw/source/filter/ww8/ww8graf.cxx                               | 2 +-
 main/vcl/source/app/i18nhelp.cxx                                    | 4 ++--
 main/xmloff/source/forms/elementimport.cxx                          | 6 +++---
 main/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx    | 2 +-
 13 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/main/basic/inc/basic/sbuno.hxx b/main/basic/inc/basic/sbuno.hxx
index 1ed5f5821c..37f9dcfc87 100644
--- a/main/basic/inc/basic/sbuno.hxx
+++ b/main/basic/inc/basic/sbuno.hxx
@@ -29,7 +29,7 @@
 
 namespace com { namespace sun { namespace star { namespace uno { class Any; }}}}
 
-// Returns a SbxObject that wrapps an Uno Interface
+// Returns a SbxObject that wraps an Uno Interface
 // Implementation in basic/source/classes/sbunoobj.cxx
 BASIC_DLLPUBLIC SbxObjectRef GetSbUnoObject( const String& aName, const com::sun::star::uno::Any& aUnoObj_ );
 
diff --git a/main/dtrans/source/win32/workbench/XTDo.hxx b/main/dtrans/source/win32/workbench/XTDo.hxx
index 743aa9ecca..e7de1d3f93 100644
--- a/main/dtrans/source/win32/workbench/XTDo.hxx
+++ b/main/dtrans/source/win32/workbench/XTDo.hxx
@@ -54,9 +54,9 @@ class EnumFormatEtc;
 	  if there is one, he requests the data in this format
 	  
 	- This class inherits from IDataObject an so can be placed on the 
-	  OleClipboard. The class wrapps a transferable object which is the 
+	  OleClipboard. The class wraps a transferable object which is the
 	  original DataSource
-	- DataFlavors offerd by this transferable will be translated into
+	- DataFlavors offered by this transferable will be translated into
 	  appropriate clipboard formats 
 	- if the transferable contains text data always text and unicodetext
 	  will be offered or vice versa
diff --git a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/bridgefactory/BridgeFactory.java b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/bridgefactory/BridgeFactory.java
index 477bf250c1..85761bb4d1 100644
--- a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/bridgefactory/BridgeFactory.java
+++ b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/bridgefactory/BridgeFactory.java
@@ -47,7 +47,7 @@ import com.sun.star.uno.UnoRuntime;
 
 /**
  * The BridgeFactory class implements the <code>XBridgeFactory</code> Interface.
- * It wrapps the <code>UnoRuntime#getBridgeByName</code>method and delivers a 
+ * It wraps the <code>UnoRuntime#getBridgeByName</code>method and delivers a
  * XBridge component.
  * <p>
  * This component is only usable for remote bridges.
@@ -61,7 +61,7 @@ public class BridgeFactory implements XBridgeFactory/*, XEventListener*/ {
 	static private final boolean DEBUG = false;
 
 	/**
-	 * The name of the service, the <code>JavaLoader</code> acceses this through reflection.
+	 * The name of the service, the <code>JavaLoader</code> accesses this through reflection.
 	 */
 	public final static String __serviceName = "com.sun.star.bridge.BridgeFactory";
 
diff --git a/main/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs b/main/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs
index 8b7ef22103..cb9c9a19ac 100644
--- a/main/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs
+++ b/main/migrationanalysis/src/driver_docs/DocAnalysisRunMacro.vbs
@@ -167,7 +167,7 @@ End Function
 
 '###################### 
 Sub DAsaveExcelDriver(saveDriver)
-	'# Not overwritting - Excel hangs, need to remove file first
+	'# Not overwriting - Excel hangs, need to remove file first
 	if daFso.FileExists(daFso.GetAbsolutePathName(saveDriver)) Then
 		daFso.DeleteFile(daFso.GetAbsolutePathName(saveDriver))
 	End If
diff --git a/main/sd/source/ui/dlg/tpaction.cxx b/main/sd/source/ui/dlg/tpaction.cxx
index 742c6b162f..6aec56b0b5 100644
--- a/main/sd/source/ui/dlg/tpaction.cxx
+++ b/main/sd/source/ui/dlg/tpaction.cxx
@@ -483,7 +483,7 @@ void SdTPAction::OpenFileDialog()
 
 			aFileDialog.SetDisplayDirectory( aFile );
 
-            // The following is a fix for #1008001# and a workarround for
+            // The following is a fix for #1008001# and a workaround for
             // #i4306#: The addition of the implicitly existing "all files"
             // filter makes the (Windows system) open file dialog follow
             // links on the desktop to directories.
@@ -783,7 +783,7 @@ void SdTPAction::SetEditText( String const & rStr )
 			if( rStr.GetTokenCount( DOCUMENT_TOKEN ) == 2 )
 				aText = rStr.GetToken( 0, DOCUMENT_TOKEN );
 
-			// fallthrough inteded
+			// fallthrough intended
 		case presentation::ClickAction_SOUND:
 		case presentation::ClickAction_PROGRAM:
 			{
diff --git a/main/sd/source/ui/inc/framework/Pane.hxx b/main/sd/source/ui/inc/framework/Pane.hxx
index bdeea26422..08f4da3d43 100644
--- a/main/sd/source/ui/inc/framework/Pane.hxx
+++ b/main/sd/source/ui/inc/framework/Pane.hxx
@@ -69,7 +69,7 @@ class Pane
       public PaneInterfaceBase
 {
 public:
-    /** Create a new Pane object that wrapps the given window.
+    /** Create a new Pane object that wraps the given window.
         @param rsPaneURL
             The URL that is used by the configuration to identify the pane.
             The given URL has to be valid.
diff --git a/main/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx b/main/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
index a12bba4965..48114bbaf3 100644
--- a/main/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
+++ b/main/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
@@ -70,7 +70,7 @@ namespace sdr
 			// #i102380#
 			void flushGraphicObjects();
 
-            // helpers for viusualisation state
+            // helpers for visualisation state
             bool visualisationUsesPresObj() const;
             bool visualisationUsesDraft() const;
 
diff --git a/main/svx/source/accessibility/AccessibleShape.cxx b/main/svx/source/accessibility/AccessibleShape.cxx
index 64b75a1704..2fa51309dd 100644
--- a/main/svx/source/accessibility/AccessibleShape.cxx
+++ b/main/svx/source/accessibility/AccessibleShape.cxx
@@ -692,8 +692,8 @@ awt::Rectangle SAL_CALL AccessibleShape::getBounds (void)
 			int x = aPixelPosition.getX() - aParentLocation.X;
 			int y = aPixelPosition.getY() - aParentLocation.Y;
 
-			/*        //  The following block is a workarround for bug #99889# (property
-			//  BoundRect returnes coordinates relative to document window
+			/*        //  The following block is a workaround for bug #99889# (property
+			//  BoundRect returns coordinates relative to document window
 			//  instead of absolute coordinates for shapes in Writer).  Has to
 			//  be removed as soon as bug is fixed.
 
@@ -711,7 +711,7 @@ awt::Rectangle SAL_CALL AccessibleShape::getBounds (void)
 						y = aPixelPosition.getY();
 					}
 				}
-			//  End of workarround.
+			//  End of workaround.
 			*/
 			// Clip with parent (with coordinates relative to itself).
 			::Rectangle aBBox (
diff --git a/main/svx/source/accessibility/DGColorNameLookUp.cxx b/main/svx/source/accessibility/DGColorNameLookUp.cxx
index b1fb77548a..0511e2e90d 100644
--- a/main/svx/source/accessibility/DGColorNameLookUp.cxx
+++ b/main/svx/source/accessibility/DGColorNameLookUp.cxx
@@ -101,7 +101,7 @@ DGColorNameLookUp::DGColorNameLookUp (void)
         xNA = uno::Reference<container::XNameAccess>(xColorTable, uno::UNO_QUERY);
         if (xNA.is())
         {
-            // Look the solar mutex here as workarround for missing lock in
+            // Look the solar mutex here as workaround for missing lock in
             // called function.
             ::vos::OGuard aGuard (::Application::GetSolarMutex());
             aNames = xNA->getElementNames();
@@ -109,7 +109,7 @@ DGColorNameLookUp::DGColorNameLookUp (void)
     }
     catch (uno::RuntimeException e)
     {
-        // When an excpetion occurred then whe have an empty name sequence
+        // When an exception occurred then whe have an empty name sequence
         // and the loop below is not entered.
     }
 
diff --git a/main/sw/source/filter/ww8/ww8graf.cxx b/main/sw/source/filter/ww8/ww8graf.cxx
index 9d8520a6a9..a6bbcdcaa2 100644
--- a/main/sw/source/filter/ww8/ww8graf.cxx
+++ b/main/sw/source/filter/ww8/ww8graf.cxx
@@ -2041,7 +2041,7 @@ void SwWW8ImplReader::MapWrapIntoFlyFmt(SvxMSDffImportRec* pRecord,
              Gather round children and hear of a tale that will raise the
              hairs on the back of your neck this dark halloween night.
 
-             There is a polygon in word that describes the wraping around
+             There is a polygon in word that describes the wrapping around
              the graphic.
 
              Here are some sample values for the simplest case of a square
diff --git a/main/vcl/source/app/i18nhelp.cxx b/main/vcl/source/app/i18nhelp.cxx
index 8f574c8321..29019a5b9a 100644
--- a/main/vcl/source/app/i18nhelp.cxx
+++ b/main/vcl/source/app/i18nhelp.cxx
@@ -126,7 +126,7 @@ sal_Int32 vcl::I18nHelper::CompareString( const String& rStr1, const String& rSt
 
     if ( mbTransliterateIgnoreCase )
     {
-        // Change mbTransliterateIgnoreCase and destroy the warpper, next call to
+        // Change mbTransliterateIgnoreCase and destroy the wrapper, next call to
         // ImplGetTransliterationWrapper() will create a wrapper with the correct bIgnoreCase
         ((vcl::I18nHelper*)this)->mbTransliterateIgnoreCase = sal_False;
         delete ((vcl::I18nHelper*)this)->mpTransliterationWrapper;
@@ -145,7 +145,7 @@ sal_Bool vcl::I18nHelper::MatchString( const String& rStr1, const String& rStr2
 
     if ( !mbTransliterateIgnoreCase )
     {
-        // Change mbTransliterateIgnoreCase and destroy the warpper, next call to
+        // Change mbTransliterateIgnoreCase and destroy the wrapper, next call to
         // ImplGetTransliterationWrapper() will create a wrapper with the correct bIgnoreCase
         ((vcl::I18nHelper*)this)->mbTransliterateIgnoreCase = sal_True;
         delete ((vcl::I18nHelper*)this)->mpTransliterationWrapper;
diff --git a/main/xmloff/source/forms/elementimport.cxx b/main/xmloff/source/forms/elementimport.cxx
index 056ec6f2a8..8d71966cb1 100644
--- a/main/xmloff/source/forms/elementimport.cxx
+++ b/main/xmloff/source/forms/elementimport.cxx
@@ -1545,7 +1545,7 @@ namespace xmloff
     {
         // In OpenOffice.org 2.0, we changed the implementation of the css.form.component.TextField (the model of a text field control),
         // so that it now uses another default control. So if we encounter a text field where the *old* default
-        // control property is writting, we are not allowed to use it
+        // control property is writing, we are not allowed to use it
         PropertyValueArray::iterator aDefaultControlPropertyPos = ::std::find_if(
             m_aValues.begin(),
             m_aValues.end(),
@@ -1582,7 +1582,7 @@ namespace xmloff
         UniReference < XMLTextImportHelper > xTextImportHelper( m_rContext.getGlobalContext().GetTextImport() );
         if ( m_xCursor.is() )
 	    {
-		    // delete the newline which has been imported errornously
+		    // delete the newline which has been imported erroneously
             // TODO (fs): stole this code somewhere - why don't we fix the text import??
 		    m_xCursor->gotoEnd( sal_False );
 		    m_xCursor->goLeft( 1, sal_True );
@@ -2123,7 +2123,7 @@ namespace xmloff
 
 				aElements.push_back(sElement);
 
-				// swith to the next element
+				// switch to the next element
 				nElementStart = 1 + nNextSep;
 			}
 			while (nElementStart < nLength);
diff --git a/main/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx b/main/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
index 001cc8c47c..2cbcb3cdfb 100644
--- a/main/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
+++ b/main/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
@@ -466,7 +466,7 @@ xmlNodePtr XMLDocumentWrapper_XmlSecImpl::checkElement( const cssu::Reference< c
  *	see NAME
  *
  *   INPUTS
- *	xXMLElement -	the XXMLElementWrapper interface wraping a node
+ *	xXMLElement -	the XXMLElementWrapper interface wrapping a node
  *
  *   RESULT
  *	node - the node wrapped in the XXMLElementWrapper interface