From 9e4c87be31732ed076a059128d2e20451697d225 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 17:42:11 +0200 Subject: Fix typos Change-Id: Ie0e941d48457d758525353d6c5cf858652f86fd3 Reviewed-on: https://gerrit.libreoffice.org/18938 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx | 2 +- android/source/src/java/org/libreoffice/LOKitThread.java | 4 ++-- android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java | 4 ++-- basctl/source/basicide/layout.cxx | 2 +- basctl/source/basicide/linenumberwindow.cxx | 2 +- basctl/source/basicide/moduldl2.cxx | 2 +- basegfx/source/polygon/b2dpolygontools.cxx | 4 ++-- basegfx/source/polygon/b2dpolygontriangulator.cxx | 2 +- basegfx/source/raster/rasterconvert3d.cxx | 2 +- basegfx/test/basegfx2d.cxx | 2 +- basic/source/basmgr/basmgr.cxx | 2 +- basic/source/classes/sb.cxx | 2 +- basic/source/classes/sbunoobj.cxx | 2 +- basic/source/classes/sbxmod.cxx | 2 +- basic/source/comp/dim.cxx | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx index 26fd8c69f1b9..9c06af7a6a82 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx @@ -37,7 +37,7 @@ typedef ::cppu::ImplHelper3< /** Base class for list- and combo boxes. This class manages the box' children. The classed derived from this one have only to implement the - IsValid method and return the corrent implementation name. + IsValid method and return the correct implementation name. */ class VCLXAccessibleBox : public VCLXAccessibleComponent, diff --git a/android/source/src/java/org/libreoffice/LOKitThread.java b/android/source/src/java/org/libreoffice/LOKitThread.java index 0da9681b93c1..a762184954e6 100644 --- a/android/source/src/java/org/libreoffice/LOKitThread.java +++ b/android/source/src/java/org/libreoffice/LOKitThread.java @@ -16,9 +16,9 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.LinkedBlockingQueue; -/** +/* * Thread that communicates with LibreOffice through LibreOfficeKit JNI interface. The thread - * consumes events from other threads (maininly the UI thread) and acts accordingly. + * consumes events from other threads (mainly the UI thread) and acts accordingly. */ public class LOKitThread extends Thread { private static final String LOGTAG = LOKitThread.class.getSimpleName(); diff --git a/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java b/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java index bb6e3d04e4fb..389a50f07b1e 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java @@ -37,7 +37,7 @@ public class GeckoLayerClient implements PanZoomTarget { * Specifically: * 1) reading mViewportMetrics from any thread is fine without synchronization * 2) writing to mViewportMetrics requires synchronizing on the layer controller object - * 3) whenver reading multiple fields from mViewportMetrics without synchronization (i.e. in + * 3) whenever reading multiple fields from mViewportMetrics without synchronization (i.e. in * case 1 above) you should always frist grab a local copy of the reference, and then use * that because mViewportMetrics might get reassigned in between reading the different * fields. */ @@ -356,4 +356,4 @@ public class GeckoLayerClient implements PanZoomTarget { mLowResLayer.invalidateTiles(tilesToInvalidate, rect); mRootLayer.invalidateTiles(tilesToInvalidate, rect); } -} \ No newline at end of file +} diff --git a/basctl/source/basicide/layout.cxx b/basctl/source/basicide/layout.cxx index e9b1356c107e..032334040750 100644 --- a/basctl/source/basicide/layout.cxx +++ b/basctl/source/basicide/layout.cxx @@ -274,7 +274,7 @@ void Layout::SplittedSide::ArrangeIn (Rectangle const& rRect) // the length of the side long const nLength = bVertical ? aRect.GetSize().Height() : aRect.GetSize().Width(); long const nOtherSize = bVertical ? aRect.GetSize().Width() : aRect.GetSize().Height(); - // bVertical ? horizontal pozition : vertical pozition + // bVertical ? horizontal position : vertical position long const nPos1 = (bVertical ? aRect.Left() : aRect.Top()) + (bLower ? 0 : nOtherSize - (nSize - nSplitThickness)); // bVertical ? vertical position : horizontal position diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx index d1b96102adc2..298f4d02bf6a 100644 --- a/basctl/source/basicide/linenumberwindow.cxx +++ b/basctl/source/basicide/linenumberwindow.cxx @@ -69,7 +69,7 @@ void LineNumberWindow::Paint( vcl::RenderContext& rRenderContext, const Rectangl // rather than doing that re-calculation at each Paint event m_nBaseWidth = GetTextWidth("8"); - // reserve enough for 3 digit minimum, with a bit to spare for confort + // reserve enough for 3 digit minimum, with a bit to spare for comfort m_nWidth = m_nBaseWidth * 3 + m_nBaseWidth / 2; sal_uInt32 i = (nEndLine + 1) / 1000; while (i) diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 700fde648310..9918f827962e 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -1134,7 +1134,7 @@ void LibPage::Export() else ExportAsBasic( aLibName ); } - catch(const util::VetoException& ) // user cancled operation + catch(const util::VetoException& ) // user canceled operation { } } diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 6efeb7802f46..e031143caebf 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -1069,7 +1069,7 @@ namespace basegfx const double fZero(0.0); const double fOne(1.0); - // inside parameter range edge1 AND fCut2 is calcable + // inside parameter range edge1 AND fCut2 is calculable if(fTools::more(fCut1, fZero) && fTools::less(fCut1, fOne) && (!fTools::equalZero(rEdge2Delta.getX()) || !fTools::equalZero(rEdge2Delta.getY()))) { @@ -1672,7 +1672,7 @@ namespace basegfx // close aRetval.setClosed( true ); - // remove double created points if there are extreme radii envolved + // remove double created points if there are extreme radii involved if(fOne == fRadiusX || fOne == fRadiusY) { aRetval.removeDoublePoints(); diff --git a/basegfx/source/polygon/b2dpolygontriangulator.cxx b/basegfx/source/polygon/b2dpolygontriangulator.cxx index 27ebf64955d2..f27ad9bc7af9 100644 --- a/basegfx/source/polygon/b2dpolygontriangulator.cxx +++ b/basegfx/source/polygon/b2dpolygontriangulator.cxx @@ -325,7 +325,7 @@ namespace basegfx if(bNoPointInTriangle) { - // look for end point in triange + // look for end point in triangle pTestEdge = pEdgeB->getNext(); while(bNoPointInTriangle && pTestEdge) diff --git a/basegfx/source/raster/rasterconvert3d.cxx b/basegfx/source/raster/rasterconvert3d.cxx index 946a343d64c4..bbce06fb971e 100644 --- a/basegfx/source/raster/rasterconvert3d.cxx +++ b/basegfx/source/raster/rasterconvert3d.cxx @@ -94,7 +94,7 @@ namespace basegfx if(!nStep || aCurrentEntry->decrementRasterConversionLineEntry3D(nStep)) { - // add when exactly on current line or when incremet to it did not + // add when exactly on current line or when increment to it did not // completely consume it if(nStep) { diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index 96d76bf1929b..5ed74f324735 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -162,7 +162,7 @@ public: // The import/export of aPath1 does not reproduce aExport again. This is // correct since aPath1 contains a segment with non-used control points // which gets exported now correctly as 'l' and also a point (#4, index 3) - // with C2 continuity which produces a 's' staement now. + // with C2 continuity which produces a 's' statement now. // The old SVGexport identified nun-used ControlVectors erraneously as bezier segments // because the 2nd vector at the start point was used, even when added diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index f7db9707f08f..70c6a5580456 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1197,7 +1197,7 @@ bool BasicManager::IsReference( sal_uInt16 nLib ) bool BasicManager::RemoveLib( sal_uInt16 nLib ) { - // Only pyhsical deletion if no reference + // Only physical deletion if no reference return RemoveLib( nLib, !IsReference( nLib ) ); } diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 31e918843ed5..57080ca15a09 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1366,7 +1366,7 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t ) pNamed = p; } // Only variables qualified by the Module Name e.g. Sheet1.foo - // should work for Documant && Class type Modules + // should work for Document && Class type Modules sal_Int32 nType = p->GetModuleType(); if ( nType == ModuleType::DOCUMENT || nType == ModuleType::FORM ) { diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index c3a9cc5c102c..299ea38d8a9f 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -1942,7 +1942,7 @@ OUString Impl_DumpMethods( SbUnoObject* pUnoObj ) aRet.append("Methods of object "); aRet.append( getDbgObjectName( pUnoObj ) ); - // XIntrospectionAccess, so that the types of the parameter could be outputed + // XIntrospectionAccess, so that the types of the parameter could be outputted Reference< XIntrospectionAccess > xAccess = pUnoObj->getIntrospectionAccess(); if( !xAccess.is() ) { diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index ed13469e3e69..1dc43ff20dae 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1096,7 +1096,7 @@ void SbModule::Run( SbMethod* pMeth ) } // Launcher problem - // i80726 The Find below will genarate an error in Testtool so we reset it unless there was one before already + // i80726 The Find below will generate an error in Testtool so we reset it unless there was one before already bool bWasError = SbxBase::GetError() != 0; SbxVariable* pMSOMacroRuntimeLibVar = Find( "Launcher", SbxCLASS_OBJECT ); if ( !bWasError && (SbxBase::GetError() == ERRCODE_SBX_PROC_UNDEFINED) ) diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index 447a50a61335..cff81af3b642 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -37,7 +37,7 @@ using namespace ::com::sun::star::uno; // Declaration of a variable // If there are errors it will be parsed up to the comma or the newline. // Return-value: a new instance, which were inserted and then deleted. -// Array-Indexex were returned as SbiDimList +// Array-Index were returned as SbiDimList SbiSymDef* SbiParser::VarDecl( SbiDimList** ppDim, bool bStatic, bool bConst ) { -- cgit