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 7de601c39e Fix typos (#373) 7de601c39e is described below commit 7de601c39e46cf49ef7ac29184b45aeae1a4391e Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Sun Jun 29 22:34:44 2025 +1000 Fix typos (#373) * misc: fix typos * Update ignored words list --- .github/linters/codespell.txt | 4 ---- main/connectivity/inc/connectivity/sqliterator.hxx | 2 +- main/dbaccess/source/ui/inc/JoinTableView.hxx | 2 +- .../inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx | 8 ++++---- main/drawinglayer/source/primitive2d/sceneprimitive2d.cxx | 2 +- .../DevelopersGuide/ScriptingFramework/ScriptSelector/build.xml | 2 +- main/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java | 2 +- main/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java | 2 +- main/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java | 2 +- main/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java | 2 +- main/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java | 2 +- main/odk/examples/DevelopersGuide/UCB/ResourceCreator.java | 2 +- main/odk/examples/DevelopersGuide/UCB/ResourceManager.java | 2 +- main/odk/examples/DevelopersGuide/UCB/ResourceRemover.java | 2 +- main/odk/examples/java/Spreadsheet/SCalc.java | 6 +++--- main/offapi/com/sun/star/geometry/AffineMatrix3D.idl | 2 +- .../src/main/java/ifc/ucb/_XCachedContentResultSetFactory.java | 2 +- .../main/java/ifc/ucb/_XCachedContentResultSetStubFactory.java | 2 +- .../src/main/java/ifc/ucb/_XCachedDynamicResultSetFactory.java | 2 +- .../main/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java | 2 +- .../java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor.java | 2 +- .../java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor2.java | 2 +- .../src/main/java/ifc/ucb/_XSortedDynamicResultSetFactory.java | 2 +- main/scripting/source/pyprov/pythonscript.py | 2 +- main/svx/source/engine3d/e3dsceneupdater.cxx | 2 +- main/svx/source/engine3d/obj3d.cxx | 2 +- main/sw/source/core/crsr/crsrsh.cxx | 2 +- main/sw/source/core/docnode/node2lay.cxx | 2 +- main/sw/source/core/frmedt/feshview.cxx | 8 ++++---- main/sw/source/core/inc/ascharanchoredobjectposition.hxx | 2 +- main/sw/source/core/inc/environmentofanchoredobject.hxx | 2 +- main/sw/source/core/layout/ftnfrm.cxx | 4 ++-- main/sw/source/core/layout/wsfrm.cxx | 2 +- main/sw/source/ui/app/appopt.cxx | 2 +- main/sw/source/ui/fldui/fldtdlg.hrc | 2 +- main/ucb/qa/complex/tdoc/_XCommandProcessor.java | 2 +- main/vcl/source/gdi/outdev.cxx | 2 +- main/xmlsecurity/tools/demo/util.cxx | 4 ++-- main/xmlsecurity/tools/standalone/csfit/helper.cxx | 6 +++--- 39 files changed, 50 insertions(+), 54 deletions(-) diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index 7398f3a94f..17062dcc2b 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -581,7 +581,6 @@ conatains conatined conatiner conatining -conatins concatenaded concatination concatinations @@ -617,7 +616,6 @@ construcor constructcor construktor construrtors -construtor constuct constucting constuctor @@ -687,7 +685,6 @@ coodinates cooordinate cooporative coordiante -coordiantes co-ordinates copie copiing @@ -1239,7 +1236,6 @@ exsist exsisting exsists exspect -exspected exsting extact extaction diff --git a/main/connectivity/inc/connectivity/sqliterator.hxx b/main/connectivity/inc/connectivity/sqliterator.hxx index a11e4baf31..f6a2c82285 100644 --- a/main/connectivity/inc/connectivity/sqliterator.hxx +++ b/main/connectivity/inc/connectivity/sqliterator.hxx @@ -61,7 +61,7 @@ namespace connectivity class OOO_DLLPUBLIC_DBTOOLS OSQLParseTreeIterator { private: - ::com::sun::star::sdbc::SQLException m_aErrors; // conatins the error while iterating through the statement + ::com::sun::star::sdbc::SQLException m_aErrors; // contains the error while iterating through the statement const OSQLParseNode* m_pParseTree; // aktueller ParseTree const OSQLParser& m_rParser; // if set used for general error messages from the context OSQLStatementType m_eStatementType; // Art des Statements diff --git a/main/dbaccess/source/ui/inc/JoinTableView.hxx b/main/dbaccess/source/ui/inc/JoinTableView.hxx index d49080a38f..04ff497bc4 100644 --- a/main/dbaccess/source/ui/inc/JoinTableView.hxx +++ b/main/dbaccess/source/ui/inc/JoinTableView.hxx @@ -62,7 +62,7 @@ namespace dbaui class OTableWindowData; class OJoinDesignViewAccess; - // this class conatins only the scrollbars to avoid that the tablewindows clip the scrollbars + // this class contains only the scrollbars to avoid that the tablewindows clip the scrollbars class OJoinTableView; class OScrollWindowHelper : public Window { diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx index 04742c478d..bd9f31e5d0 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/svggradientprimitive2d.hxx @@ -307,14 +307,14 @@ namespace drawinglayer { namespace primitive2d { - /* basic primitive for a single linear GradientRun in unit coordiantes. + /* basic primitive for a single linear GradientRun in unit coordinates. It's derived from DiscreteMetricDependentPrimitive2D to allow view-dependent decompositions allowing reduced color steps **/ class DRAWINGLAYER_DLLPUBLIC SvgLinearAtomPrimitive2D : public DiscreteMetricDependentPrimitive2D { private: - /// the geometric definition in unit coordiantes + /// the geometric definition in unit coordinates basegfx::BColor maColorA; basegfx::BColor maColorB; double mfOffsetA; @@ -353,14 +353,14 @@ namespace drawinglayer { namespace primitive2d { - /* basic primitive for a single radial GradientRun in unit coordiantes. + /* basic primitive for a single radial GradientRun in unit coordinates. It's derived from DiscreteMetricDependentPrimitive2D to allow view-dependent decompositions allowing reduced color steps **/ class DRAWINGLAYER_DLLPUBLIC SvgRadialAtomPrimitive2D : public DiscreteMetricDependentPrimitive2D { private: - /// the geometric definition in unit coordiantes + /// the geometric definition in unit coordinates basegfx::BColor maColorA; basegfx::BColor maColorB; double mfScaleA; diff --git a/main/drawinglayer/source/primitive2d/sceneprimitive2d.cxx b/main/drawinglayer/source/primitive2d/sceneprimitive2d.cxx index 2aada2c693..d67fdac96d 100644 --- a/main/drawinglayer/source/primitive2d/sceneprimitive2d.cxx +++ b/main/drawinglayer/source/primitive2d/sceneprimitive2d.cxx @@ -246,7 +246,7 @@ namespace drawinglayer // and not yet flipped in Y basegfx::B3DHomMatrix aExtendedProjection(aViewInformation3D.getProjection()); - // bring to unit coordiantes, flip Y, leave Z unchanged + // bring to unit coordinates, flip Y, leave Z unchanged aExtendedProjection.scale(0.5, -0.5, 1.0); aExtendedProjection.translate(0.5, 0.5, 0.0); diff --git a/main/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/build.xml b/main/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/build.xml index 2a6bb3b7d0..f740ff7aa7 100644 --- a/main/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/build.xml +++ b/main/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/build.xml @@ -26,7 +26,7 @@ <property name="macroname" value="ScriptSelector"/> <property name="unopkgfile" value="${basedir}/${macroname}.uno.pkg"/> - <!-- ==================== intialise properties ========================= --> + <!-- ==================== initialise properties ========================= --> <target name="checksdk"> <condition property="UsingSDK"> <available file="${env.OFFICE_PROGRAM_PATH}"/> diff --git a/main/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java b/main/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java index 1bd01694e7..9ce6adafd9 100644 --- a/main/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java +++ b/main/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java @@ -51,7 +51,7 @@ public class ChildrenRetriever { /** * Constructor. Create a new connection with the specific args to a running office * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -propNames=... (optional) * See Help (method printCmdLineUsage()). diff --git a/main/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java b/main/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java index ceebc836f4..7dd1183c11 100644 --- a/main/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java +++ b/main/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java @@ -42,7 +42,7 @@ public class DataStreamComposer { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -srcURL=... (optional) * -workdir=... (optional) diff --git a/main/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java b/main/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java index 9c5d4a5876..73efaa1c0f 100644 --- a/main/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java +++ b/main/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java @@ -42,7 +42,7 @@ public class DataStreamRetriever { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * See Help (method printCmdLineUsage()). * Without the arguments a new connection to a diff --git a/main/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java b/main/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java index 140466b63f..b4f2c841dc 100644 --- a/main/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java +++ b/main/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java @@ -45,7 +45,7 @@ public class PropertiesComposer { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -propNames=... (optional) * -propValues=... (optional) diff --git a/main/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java b/main/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java index 7e32f04010..cd391ac918 100644 --- a/main/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java +++ b/main/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java @@ -46,7 +46,7 @@ public class PropertiesRetriever { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -propNames=... (optional) * See Help (method printCmdLineUsage()). diff --git a/main/odk/examples/DevelopersGuide/UCB/ResourceCreator.java b/main/odk/examples/DevelopersGuide/UCB/ResourceCreator.java index b5273a56bb..44562574ff 100644 --- a/main/odk/examples/DevelopersGuide/UCB/ResourceCreator.java +++ b/main/odk/examples/DevelopersGuide/UCB/ResourceCreator.java @@ -46,7 +46,7 @@ public class ResourceCreator { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -name=... (optional) * -srcURL=... (optional) diff --git a/main/odk/examples/DevelopersGuide/UCB/ResourceManager.java b/main/odk/examples/DevelopersGuide/UCB/ResourceManager.java index 5e223d4d28..27864949d3 100644 --- a/main/odk/examples/DevelopersGuide/UCB/ResourceManager.java +++ b/main/odk/examples/DevelopersGuide/UCB/ResourceManager.java @@ -46,7 +46,7 @@ public class ResourceManager { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -targetFolderURL=... (optional) * -newTitle=... (optional) diff --git a/main/odk/examples/DevelopersGuide/UCB/ResourceRemover.java b/main/odk/examples/DevelopersGuide/UCB/ResourceRemover.java index 6aaaf546cc..583c9c8cb5 100644 --- a/main/odk/examples/DevelopersGuide/UCB/ResourceRemover.java +++ b/main/odk/examples/DevelopersGuide/UCB/ResourceRemover.java @@ -36,7 +36,7 @@ public class ResourceRemover { /** * Constructor. * - *@param String[] This construtor requires the arguments: + *@param String[] This constructor requires the arguments: * -url=... (optional) * -workdir=... (optional) * See Help (method printCmdLineUsage()). diff --git a/main/odk/examples/java/Spreadsheet/SCalc.java b/main/odk/examples/java/Spreadsheet/SCalc.java index 933146d5dc..c5dd88f25d 100644 --- a/main/odk/examples/java/Spreadsheet/SCalc.java +++ b/main/odk/examples/java/Spreadsheet/SCalc.java @@ -258,8 +258,8 @@ public class SCalc { // get the CellRange which holds the data for the chart and its RangeAddress // get the TableChartSupplier from the sheet and then the TableCharts from it. // add a new chart based on the data to the TableCharts. - // get the ChartDocument, which provide the Diagramm. Change the properties - // Dim3D (3 dimension) and String (the title) of the diagramm. + // get the ChartDocument, which provide the Diagram. Change the properties + // Dim3D (3 dimension) and String (the title) of the diagram. //*************************************************************************** // insert a chart @@ -289,7 +289,7 @@ public class SCalc { XTableCharts oCharts = oSupp.getCharts(); oCharts.addNewByName("Example", oRect, oAddr, true, true); - // get the diagramm and Change some of the properties + // get the diagram and Change some of the properties try { oChart = (XTableChart) (UnoRuntime.queryInterface( diff --git a/main/offapi/com/sun/star/geometry/AffineMatrix3D.idl b/main/offapi/com/sun/star/geometry/AffineMatrix3D.idl index 814bae9bae..01c641a0ee 100644 --- a/main/offapi/com/sun/star/geometry/AffineMatrix3D.idl +++ b/main/offapi/com/sun/star/geometry/AffineMatrix3D.idl @@ -59,7 +59,7 @@ module com { module sun { module star { module geometry { physical dimensions attached to them. This physical measurement units are typically only added when using these data types to render something onto a physical output device. For 3D coordinates - there is also a projection from 3D to 2D device coordiantes needed. + there is also a projection from 3D to 2D device coordinates needed. Only then the total transformation matrix (oncluding projection to 2D) and the device resolution determine the actual measurement unit in 3D.<p> diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetFactory.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetFactory.java index 51918ec03c..7456c4e3f8 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetFactory.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetFactory.java @@ -49,7 +49,7 @@ import com.sun.star.ucb.XCachedContentResultSetFactory; public class _XCachedContentResultSetFactory extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XCachedContentResultSetFactory oObj; private XResultSet resSetStub = null ; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetStubFactory.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetStubFactory.java index e617265a05..f099ebf423 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetStubFactory.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedContentResultSetStubFactory.java @@ -49,7 +49,7 @@ import com.sun.star.ucb.XCachedContentResultSetStubFactory; public class _XCachedContentResultSetStubFactory extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XCachedContentResultSetStubFactory oObj; private XResultSet resSet = null ; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetFactory.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetFactory.java index 942c578b1b..c77e90cde8 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetFactory.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetFactory.java @@ -50,7 +50,7 @@ import com.sun.star.ucb.XDynamicResultSet; public class _XCachedDynamicResultSetFactory extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XCachedDynamicResultSetFactory oObj; private XDynamicResultSet resSetStub = null ; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java index 874e86b1f6..7cf1e56199 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java @@ -54,7 +54,7 @@ import com.sun.star.uno.UnoRuntime; public class _XCachedDynamicResultSetStubFactory extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XCachedDynamicResultSetStubFactory oObj; private XDynamicResultSet resSet = null ; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor.java index 2f5a678af2..86b3251366 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor.java @@ -71,7 +71,7 @@ import lib.StatusException; public class _XCommandProcessor extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XCommandProcessor oObj; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor2.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor2.java index c4f140b577..042312679a 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor2.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XCommandProcessor2.java @@ -30,7 +30,7 @@ import com.sun.star.ucb.XCommandProcessor2; public class _XCommandProcessor2 extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XCommandProcessor2 oObj; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XSortedDynamicResultSetFactory.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XSortedDynamicResultSetFactory.java index f5b024a25c..f8d640353d 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XSortedDynamicResultSetFactory.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/ucb/_XSortedDynamicResultSetFactory.java @@ -60,7 +60,7 @@ import com.sun.star.uno.Type; public class _XSortedDynamicResultSetFactory extends MultiMethodTest { /** - * Conatins the tested object. + * Contains the tested object. */ public XSortedDynamicResultSetFactory oObj; diff --git a/main/scripting/source/pyprov/pythonscript.py b/main/scripting/source/pyprov/pythonscript.py index af01bb088b..9545669c61 100644 --- a/main/scripting/source/pyprov/pythonscript.py +++ b/main/scripting/source/pyprov/pythonscript.py @@ -1077,4 +1077,4 @@ g_ImplementationHelper.addImplementation( \ "com.sun.star.script.provider.ScriptProviderFor"+ LANGUAGENAME,),) -log.debug( "pythonscript finished intializing" ) +log.debug( "pythonscript finished initializing" ) diff --git a/main/svx/source/engine3d/e3dsceneupdater.cxx b/main/svx/source/engine3d/e3dsceneupdater.cxx index 9347b6ea93..2d7f731fe8 100644 --- a/main/svx/source/engine3d/e3dsceneupdater.cxx +++ b/main/svx/source/engine3d/e3dsceneupdater.cxx @@ -102,7 +102,7 @@ E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater() aAllContentRange.getMinX(), aAllContentRange.getMinY(), aAllContentRange.getMaxX(), aAllContentRange.getMaxY()); - // transform to 2D world coordiantes using scene's 2D transformation + // transform to 2D world coordinates using scene's 2D transformation aSnapRange.transform(rVCScene.getObjectTransformation()); // snap to (old) integer diff --git a/main/svx/source/engine3d/obj3d.cxx b/main/svx/source/engine3d/obj3d.cxx index b976a89ad4..b54e9968b1 100644 --- a/main/svx/source/engine3d/obj3d.cxx +++ b/main/svx/source/engine3d/obj3d.cxx @@ -1165,7 +1165,7 @@ void E3dCompoundObject::RecalcSnapRect() aBoundVolume.getMinX(), aBoundVolume.getMinY(), aBoundVolume.getMaxX(), aBoundVolume.getMaxY()); - // transform to 2D world coordiantes + // transform to 2D world coordinates const sdr::contact::ViewContactOfE3dScene& rVCScene = static_cast< sdr::contact::ViewContactOfE3dScene& >(pRootScene->GetViewContact()); aSnapRange.transform(rVCScene.getObjectTransformation()); diff --git a/main/sw/source/core/crsr/crsrsh.cxx b/main/sw/source/core/crsr/crsrsh.cxx index 11a203e475..0460b1cecc 100644 --- a/main/sw/source/core/crsr/crsrsh.cxx +++ b/main/sw/source/core/crsr/crsrsh.cxx @@ -1942,7 +1942,7 @@ void SwCrsrShell::RefreshBlockCursor() { // The order of the SwSelectionList has to be preserved but // the order inside the ring created by CreateCrsr() is not like - // exspected => First create the selections before the last one + // expected => First create the selections before the last one // downto the first selection. // At least create the cursor for the last selection --pPam; diff --git a/main/sw/source/core/docnode/node2lay.cxx b/main/sw/source/core/docnode/node2lay.cxx index 7d42fb9002..df38eed1d1 100644 --- a/main/sw/source/core/docnode/node2lay.cxx +++ b/main/sw/source/core/docnode/node2lay.cxx @@ -379,7 +379,7 @@ void SwNode2LayImpl::RestoreUpperFrms( SwNodes& rNds, sal_uLong nStt, sal_uLong else pNxt = pUp->Lower(); pNew = ((SwTableNode*)pNd)->MakeFrm( pUp ); - ASSERT( pNew->IsTabFrm(), "Table exspected" ); + ASSERT( pNew->IsTabFrm(), "Table expected" ); pNew->Paste( pUp, pNxt ); ((SwTabFrm*)pNew)->RegistFlys(); (*pUpperFrms)[x-2] = pNew; diff --git a/main/sw/source/core/frmedt/feshview.cxx b/main/sw/source/core/frmedt/feshview.cxx index e20a0c98ef..2323d09fe1 100644 --- a/main/sw/source/core/frmedt/feshview.cxx +++ b/main/sw/source/core/frmedt/feshview.cxx @@ -328,7 +328,7 @@ sal_Bool SwFEShell::MoveAnchor( sal_uInt16 nDir ) switch ( nAnchorId ) { case FLY_AT_PAGE: { - ASSERT( pOld->IsPageFrm(), "Wrong anchor, page exspected." ); + ASSERT( pOld->IsPageFrm(), "Wrong anchor, page expected." ); if( SW_MOVE_UP == nDir ) pNew = pOld->GetPrev(); else if( SW_MOVE_DOWN == nDir ) @@ -342,7 +342,7 @@ sal_Bool SwFEShell::MoveAnchor( sal_uInt16 nDir ) } case FLY_AT_CHAR: { - ASSERT( pOld->IsCntntFrm(), "Wrong anchor, page exspected." ); + ASSERT( pOld->IsCntntFrm(), "Wrong anchor, page expected." ); if( SW_MOVE_LEFT == nDir || SW_MOVE_RIGHT == nDir ) { SwPosition *pPos = (SwPosition*)aAnch.GetCntntAnchor(); @@ -376,7 +376,7 @@ sal_Bool SwFEShell::MoveAnchor( sal_uInt16 nDir ) } // no break! case FLY_AT_PARA: { - ASSERT( pOld->IsCntntFrm(), "Wrong anchor, page exspected." ); + ASSERT( pOld->IsCntntFrm(), "Wrong anchor, page expected." ); if( SW_MOVE_UP == nDir ) pNew = pOld->FindPrev(); else if( SW_MOVE_DOWN == nDir ) @@ -402,7 +402,7 @@ sal_Bool SwFEShell::MoveAnchor( sal_uInt16 nDir ) } case FLY_AT_FLY: { - ASSERT( pOld->IsFlyFrm(), "Wrong anchor, fly frame exspected."); + ASSERT( pOld->IsFlyFrm(), "Wrong anchor, fly frame expected."); SwPageFrm* pPage = pOld->FindPageFrm(); ASSERT( pPage, "Where's my page?" ); SwFlyFrm* pNewFly = NULL; diff --git a/main/sw/source/core/inc/ascharanchoredobjectposition.hxx b/main/sw/source/core/inc/ascharanchoredobjectposition.hxx index f94115556c..a5aecbf678 100644 --- a/main/sw/source/core/inc/ascharanchoredobjectposition.hxx +++ b/main/sw/source/core/inc/ascharanchoredobjectposition.hxx @@ -92,7 +92,7 @@ namespace objectpositioning // ********************************************************************* public: - /** construtor; provided object to be positioned and needed data + /** constructor; provided object to be positioned and needed data for calculation of the object position OD 28.10.2003 #110978# diff --git a/main/sw/source/core/inc/environmentofanchoredobject.hxx b/main/sw/source/core/inc/environmentofanchoredobject.hxx index b8a76bd653..fec341002c 100644 --- a/main/sw/source/core/inc/environmentofanchoredobject.hxx +++ b/main/sw/source/core/inc/environmentofanchoredobject.hxx @@ -34,7 +34,7 @@ namespace objectpositioning const bool mbFollowTextFlow; public: - /** construtor + /** constructor OD 05.11.2003 diff --git a/main/sw/source/core/layout/ftnfrm.cxx b/main/sw/source/core/layout/ftnfrm.cxx index 1282d10e18..7d079d02d4 100644 --- a/main/sw/source/core/layout/ftnfrm.cxx +++ b/main/sw/source/core/layout/ftnfrm.cxx @@ -2109,7 +2109,7 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef, } while( !pNxtFtn && pBoss ); } else if( !pNxtFtn->GetAttr()->GetFtn().IsEndNote() ) - { ASSERT( !pNxtFtn->GetMaster(), "_CollectFtn: Master exspected" ); + { ASSERT( !pNxtFtn->GetMaster(), "_CollectFtn: Master expected" ); while ( pNxtFtn->GetMaster() ) pNxtFtn = pNxtFtn->GetMaster(); } @@ -2812,7 +2812,7 @@ SwTwips SwFtnBossFrm::GetVarSpace() const if( pSect->IsEndnAtEnd() ) // endnotes allowed? { ASSERT( !Lower() || !Lower()->GetNext() || Lower()->GetNext()-> - IsFtnContFrm(), "FtnContainer exspected" ); + IsFtnContFrm(), "FtnContainer expected" ); const SwFtnContFrm* pCont = Lower() ? (SwFtnContFrm*)Lower()->GetNext() : 0; if( pCont ) diff --git a/main/sw/source/core/layout/wsfrm.cxx b/main/sw/source/core/layout/wsfrm.cxx index 8ddfbeb3e5..30526f7c2b 100644 --- a/main/sw/source/core/layout/wsfrm.cxx +++ b/main/sw/source/core/layout/wsfrm.cxx @@ -3643,7 +3643,7 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs, { bFoundLower = sal_True; pLay = (SwLayoutFrm*)pLay->GetNext(); - ASSERT( pLay->IsFtnContFrm(),"FtnContainer exspected" ); + ASSERT( pLay->IsFtnContFrm(),"FtnContainer expected" ); nInnerHeight += pLay->InnerHeight(); nInnerHeight += (pLay->Frm().*fnRect->fnGetHeight)() - (pLay->Prt().*fnRect->fnGetHeight)(); diff --git a/main/sw/source/ui/app/appopt.cxx b/main/sw/source/ui/app/appopt.cxx index f35bffbc10..a122608d4a 100644 --- a/main/sw/source/ui/app/appopt.cxx +++ b/main/sw/source/ui/app/appopt.cxx @@ -28,7 +28,7 @@ #include <com/sun/star/i18n/ScriptType.hpp> #include <hintids.hxx> -#include <cmdid.h> // Funktion-Ids +#include <cmdid.h> // Function-Ids #include <vcl/msgbox.hxx> #include <svl/eitem.hxx> #include <sfx2/request.hxx> diff --git a/main/sw/source/ui/fldui/fldtdlg.hrc b/main/sw/source/ui/fldui/fldtdlg.hrc index 13f1f47fb1..57397e97df 100644 --- a/main/sw/source/ui/fldui/fldtdlg.hrc +++ b/main/sw/source/ui/fldui/fldtdlg.hrc @@ -108,7 +108,7 @@ #define BMP_DOKROOT_CLOSED (RC_TP_DOC_START + 16) #define RC_TP_DOC_END (RC_TP_DOC_START + 17) -// Funktion-TabPage: +// Function-TabPage: #define RC_TP_FUNC_START (RC_TP_DOC_END) #define FT_FUNCTYPE (RC_TP_FUNC_START + 1) #define LB_FUNCTYPE (RC_TP_FUNC_START + 2) diff --git a/main/ucb/qa/complex/tdoc/_XCommandProcessor.java b/main/ucb/qa/complex/tdoc/_XCommandProcessor.java index 12d1fdef82..50531e591d 100644 --- a/main/ucb/qa/complex/tdoc/_XCommandProcessor.java +++ b/main/ucb/qa/complex/tdoc/_XCommandProcessor.java @@ -75,7 +75,7 @@ import share.LogWriter; public class _XCommandProcessor { /** - * Conatins the tested object. + * Contains the tested object. */ public XCommandProcessor oObj; public LogWriter log = null; diff --git a/main/vcl/source/gdi/outdev.cxx b/main/vcl/source/gdi/outdev.cxx index d21e9b20d9..0b479a03ac 100644 --- a/main/vcl/source/gdi/outdev.cxx +++ b/main/vcl/source/gdi/outdev.cxx @@ -522,7 +522,7 @@ sal_Bool OutputDevice::ImplHasMirroredGraphics() return ( ImplGetGraphics() && (mpGraphics->GetLayout() & SAL_LAYOUT_BIDI_RTL) ); } -// note: the coordiantes to be remirrored are in frame coordiantes ! +// note: the coordinates to be remirrored are in frame coordinates ! void OutputDevice::ImplReMirror( Point &rPoint ) const { diff --git a/main/xmlsecurity/tools/demo/util.cxx b/main/xmlsecurity/tools/demo/util.cxx index 91eb249748..ba532094ce 100644 --- a/main/xmlsecurity/tools/demo/util.cxx +++ b/main/xmlsecurity/tools/demo/util.cxx @@ -64,12 +64,12 @@ cssu::Reference< cssl::XMultiServiceFactory > CreateDemoServiceFactory() xLocalComponentContext = ::cppu::bootstrap_InitialComponentContext( xSimpleRegistry ) ; OSL_ENSURE( xLocalComponentContext.is() , "serviceManager - " - "Cannot create intial component context" ) ; + "Cannot create initial component context" ) ; xLocalServiceManager = xLocalComponentContext->getServiceManager() ; OSL_ENSURE( xLocalServiceManager.is() , "serviceManager - " - "Cannot create intial service manager" ) ; + "Cannot create initial service manager" ) ; xMSF = cssu::Reference< cssl::XMultiServiceFactory >(xLocalServiceManager, cssu::UNO_QUERY) ; diff --git a/main/xmlsecurity/tools/standalone/csfit/helper.cxx b/main/xmlsecurity/tools/standalone/csfit/helper.cxx index 4599a28569..497c8b85e1 100644 --- a/main/xmlsecurity/tools/standalone/csfit/helper.cxx +++ b/main/xmlsecurity/tools/standalone/csfit/helper.cxx @@ -112,15 +112,15 @@ Reference< XMultiComponentFactory > serviceManager( Reference< XComponentContext xLocalComponentContext = bootstrap_InitialComponentContext( xSimpleRegistry ) ; OSL_ENSURE( xLocalComponentContext.is() , "serviceManager - " - "Cannot create intial component context" ) ; + "Cannot create initial component context" ) ; xLocalServiceManager = xLocalComponentContext->getServiceManager() ; OSL_ENSURE( xLocalServiceManager.is() , "serviceManager - " - "Cannot create intial service manager" ) ; + "Cannot create initial service manager" ) ; /*- - * Because of the exception rasied from + * Because of the exception raised from * ucbhelper/source/provider/provconf.cxx, lin 323 * I do not use the content broker at present ********************************************************************