From 6a3491044b62aabdf8c17df2689595805f0f09b6 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 16 Jun 2015 13:16:03 +0200 Subject: Fix typos Reviewed-on: https://gerrit.libreoffice.org/16310 Reviewed-by: Michael Stahl Tested-by: Michael Stahl (cherry picked from commit 3fa7b0b70f8f21c65603aa2b7db53392fdbceec4) Change-Id: Id8c7cf460cba5af89891c470e1aaa61b227d356e --- basctl/source/basicide/baside2.cxx | 2 +- comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java | 4 ++-- connectivity/source/drivers/ado/AKeys.cxx | 2 +- dbaccess/source/filter/xml/xmlfilter.hxx | 2 +- dbaccess/source/ui/browser/sbagrid.cxx | 4 ++-- editeng/source/items/textitem.cxx | 2 +- embeddedobj/source/msole/olepersist.cxx | 2 +- forms/source/component/DatabaseForm.cxx | 2 +- forms/source/component/FormattedField.cxx | 2 +- forms/source/xforms/model.hxx | 2 +- forms/source/xforms/submission/submission_get.cxx | 2 +- framework/source/inc/loadenv/loadenv.hxx | 4 ++-- include/comphelper/unique_disposing_ptr.hxx | 2 +- include/drawinglayer/primitive2d/controlprimitive2d.hxx | 2 +- include/editeng/frmdir.hxx | 2 +- include/rtl/bootstrap.hxx | 2 +- include/sfx2/msg.hxx | 2 +- include/svtools/toolpanel/drawerlayouter.hxx | 2 +- include/svx/svdsnpv.hxx | 2 +- lotuswordpro/source/filter/lwpgrfobj.cxx | 2 +- sc/qa/unit/ucalc.cxx | 2 +- sc/source/filter/inc/autofilterbuffer.hxx | 2 +- sc/source/ui/inc/drawview.hxx | 2 +- sc/source/ui/inc/impex.hxx | 2 +- sd/source/ui/inc/OutlineView.hxx | 2 +- sd/source/ui/unoidl/unosrch.cxx | 2 +- sd/source/ui/view/drawview.cxx | 2 +- sfx2/source/appl/sfxhelp.cxx | 2 +- sot/source/sdstor/stgdir.hxx | 2 +- starmath/source/visitors.cxx | 2 +- svx/source/form/fmobj.cxx | 2 +- svx/source/svdraw/svddrgmt.cxx | 2 +- sw/source/core/layout/frmtool.cxx | 2 +- sw/source/filter/html/htmlform.cxx | 2 +- sw/source/filter/ww8/ww8scan.cxx | 2 +- sw/source/ui/index/swuiidxmrk.cxx | 2 +- sw/source/uibase/inc/formatclipboard.hxx | 2 +- unotools/source/i18n/localedatawrapper.cxx | 2 +- vcl/source/gdi/pdfwriter_impl.cxx | 2 +- vcl/source/gdi/textlayout.cxx | 2 +- vcl/workben/svptest.cxx | 2 +- xmloff/source/text/txtparai.cxx | 2 +- 42 files changed, 45 insertions(+), 45 deletions(-) diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index d602a7439d37..3e5effae9b83 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -744,7 +744,7 @@ void ModulWindow::EditMacro( const OUString& rMacroName ) TextSelection aSel( TextPaM( nStart, 0 ), TextPaM( nStart, 0 ) ); AssertValidEditEngine(); TextView * pView = GetEditView(); - // scroll if applicabel so that first line is at the top + // scroll if applicable so that first line is at the top long nVisHeight = GetOutputSizePixel().Height(); if ( (long)pView->GetTextEngine()->GetTextHeight() > nVisHeight ) { diff --git a/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java b/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java index 9167b097c776..4a1e147d938a 100644 --- a/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java +++ b/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java @@ -116,7 +116,7 @@ public class SequenceOutputStreamUnitTest xSeekableInStream.closeInput (); m_aTestHelper.Message ( "Both streams closed." ); - //compare the original, written and read arrys + //compare the original, written and read arrays for ( int i = 0; i < nBytesCnt; ++i ) { if ( pBytesOriginal[i] != pBytesWritten[i] ) { m_aTestHelper.Error ( "Written array not identical to " + @@ -155,4 +155,4 @@ public class SequenceOutputStreamUnitTest } private static final OfficeConnection connection = new OfficeConnection(); -} \ No newline at end of file +} diff --git a/connectivity/source/drivers/ado/AKeys.cxx b/connectivity/source/drivers/ado/AKeys.cxx index b272dac406af..4958d0ccbc08 100644 --- a/connectivity/source/drivers/ado/AKeys.cxx +++ b/connectivity/source/drivers/ado/AKeys.cxx @@ -66,7 +66,7 @@ sdbcx::ObjectType OKeys::appendObject( const OUString&, const Reference< XProper if ( !getImplementation( pKey, descriptor ) || pKey == NULL) m_pConnection->throwGenericSQLException( STR_INVALID_KEY_DESCRIPTOR_ERROR,static_cast(this) ); - // To pass as column parameter to Key's Apppend method + // To pass as column parameter to Key's Append method OLEVariant vOptional; vOptional.setNoArg(); diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx index 6e9243345459..732db5213d50 100644 --- a/dbaccess/source/filter/xml/xmlfilter.hxx +++ b/dbaccess/source/filter/xml/xmlfilter.hxx @@ -144,7 +144,7 @@ public: rtl::Reference < XMLPropertySetMapper > GetColumnStylesPropertySetMapper() const; rtl::Reference < XMLPropertySetMapper > GetCellStylesPropertySetMapper() const; - /** add a Info to the sequence which will be appened to the data source + /** add a Info to the sequence which will be appended to the data source @param _rInfo The property to append. */ inline void addInfo(const ::com::sun::star::beans::PropertyValue& _rInfo) diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index c2509dcd00cd..09780eda3356 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -1049,14 +1049,14 @@ void SbaGridControl::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel ) // determine if dragging is allowed // (Yes, this is controller (not view) functionality. But collecting and evaluating all the // information necessary via UNO would be quite difficult (if not impossible) so - // my laziness says 'do it here' ...) + // my laziness says 'do it here'...) long nRow = GetRowAtYPosPixel(_rPosPixel.Y()); sal_uInt16 nColPos = GetColumnAtXPosPixel(_rPosPixel.X()); sal_uInt16 nViewPos = (nColPos == BROWSER_INVALIDID) ? (sal_uInt16)-1 : nColPos-1; // 'the handle column' and 'no valid column' will both result in a view position of -1 ! bool bCurrentRowVirtual = IsCurrentAppending() && IsModified(); - // the current row doesn't really exist : the user's appendign a new one and already has entered some data, + // the current row doesn't really exist: the user's appending a new one and already has entered some data, // so the row contains data which has no counter part within the data source long nCorrectRowCount = GetRowCount(); diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 4289446cf1e5..8a351e435a0e 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -122,7 +122,7 @@ TYPEINIT1_FACTORY(SvxWordLineModeItem, SfxBoolItem, new SvxWordLineModeItem(fals TYPEINIT1_FACTORY(SvxContourItem, SfxBoolItem, new SvxContourItem(false, 0)); TYPEINIT1_FACTORY(SvxPropSizeItem, SfxUInt16Item, new SvxPropSizeItem(100, 0)); TYPEINIT1_FACTORY(SvxColorItem, SfxPoolItem, new SvxColorItem(0)); -// XXX: Should 2nd argoment of next line SfxColorItem or SfxPoolItem? +// XXX: Should 2nd argument of next line SfxColorItem or SfxPoolItem? TYPEINIT1_FACTORY(SvxBackgroundColorItem, SvxColorItem, new SvxBackgroundColorItem(0)); TYPEINIT1_FACTORY(SvxCharSetColorItem, SvxColorItem, new SvxCharSetColorItem(0)); TYPEINIT1_FACTORY(SvxKerningItem, SfxInt16Item, new SvxKerningItem(0, 0)); diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx index 00a81617ff3c..2b1995b371fc 100644 --- a/embeddedobj/source/msole/olepersist.cxx +++ b/embeddedobj/source/msole/olepersist.cxx @@ -371,7 +371,7 @@ void OleEmbeddedObject::InsertVisualCache_Impl( const uno::Reference< io::XStrea const uno::Reference< io::XStream >& xCachedVisualRepresentation ) throw ( uno::Exception ) { - OSL_ENSURE( xTargetStream.is() && xCachedVisualRepresentation.is(), "Invalid argumants!\n" ); + OSL_ENSURE( xTargetStream.is() && xCachedVisualRepresentation.is(), "Invalid arguments!\n" ); if ( !xTargetStream.is() || !xCachedVisualRepresentation.is() ) throw uno::RuntimeException(); diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 2e325405c20e..91a879f3bbc2 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -2945,7 +2945,7 @@ void ODatabaseForm::reload_impl(bool bMoveToFirst, const Reference< XInteraction { // only if there is no approve listener we can post the event at this time // otherwise see approveRowsetChange - // the aprrovement is done by the aggregate + // the approvement is done by the aggregate if (!m_aRowSetApproveListeners.getLength()) { ::cppu::OInterfaceIteratorHelper aIter(m_aLoadListeners); diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index 79eab7e334eb..bb37b4b17e9f 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -375,7 +375,7 @@ void OFormattedModel::describeAggregateProperties( Sequence< Property >& _rAggre RemoveProperty(_rAggregateProps, PROPERTY_STRICTFORMAT); // no strict format property for formatted fields: it does not make sense, 'cause // there is no general way to decide which characters/sub strings are allowed during the input of an - // arbitraryly formatted control + // arbitrary formatted control } void OFormattedModel::getFastPropertyValue(Any& rValue, sal_Int32 nHandle) const diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index 2ae00816a163..08de93a3965d 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -178,7 +178,7 @@ public: void addMIP( void* pTag, const XNode_t&, const MIP& ); void removeMIPs( void* pTag ); - /// query which MIPs appy to the given node + /// query which MIPs apply to the given node MIP queryMIP( const XNode_t& xNode ) const; /// re-bind all bindings diff --git a/forms/source/xforms/submission/submission_get.cxx b/forms/source/xforms/submission/submission_get.cxx index 7b80b1d99661..0d8078b327f1 100644 --- a/forms/source/xforms/submission/submission_get.cxx +++ b/forms/source/xforms/submission/submission_get.cxx @@ -49,7 +49,7 @@ CSubmissionGet::CSubmissionGet(const OUString& aURL, const css::uno::Reference< CSubmission::SubmissionResult CSubmissionGet::submit(const css::uno::Reference< css::task::XInteractionHandler >& aInteractionHandler) { - // GET always uses apllicatin/x-www-formurlencoded + // GET always uses application/x-www-formurlencoded boost::scoped_ptr< CSerialization > apSerialization(new CSerializationURLEncoded()); apSerialization->setSource(m_aFragment); apSerialization->serialize(); diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index a65134c526dd..d680bea4f458 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -566,8 +566,8 @@ private: bool impl_isFrameAlreadyUsedForLoading(const css::uno::Reference< css::frame::XFrame >& xFrame) const; /** @short try to determine the used application module - of this load request and applay right position and size - for this document window ... hopefully before we show it .-) + of this load request and apply right position and size + for this document window... hopefully before we show it .-) */ void impl_applyPersistentWindowState(const css::uno::Reference< css::awt::XWindow >& xWindow); diff --git a/include/comphelper/unique_disposing_ptr.hxx b/include/comphelper/unique_disposing_ptr.hxx index 1848639698c2..5e4407d347d5 100644 --- a/include/comphelper/unique_disposing_ptr.hxx +++ b/include/comphelper/unique_disposing_ptr.hxx @@ -136,7 +136,7 @@ private: //Something like an OutputDevice requires the SolarMutex to be taken before use //for threadsafety. The user can ensure this, except in the case of its dtor //being called from reset due to a terminate on the XComponent being called -//from an aribitrary thread +//from an arbitrary thread template class unique_disposing_solar_mutex_reset_ptr : public unique_disposing_ptr { diff --git a/include/drawinglayer/primitive2d/controlprimitive2d.hxx b/include/drawinglayer/primitive2d/controlprimitive2d.hxx index 9de1e3f5b7b6..5bcbf8b9f845 100644 --- a/include/drawinglayer/primitive2d/controlprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/controlprimitive2d.hxx @@ -38,7 +38,7 @@ namespace drawinglayer Base class for ControlPrimitive handling. It decoposes to a graphical representation (Bitmap data) of the control. This representation is limited to a quadratic pixel maximum defined - in the applicatin settings. + in the application settings. */ class DRAWINGLAYER_DLLPUBLIC ControlPrimitive2D : public BufferedDecompositionPrimitive2D { diff --git a/include/editeng/frmdir.hxx b/include/editeng/frmdir.hxx index fb034de135e9..e088e834724e 100644 --- a/include/editeng/frmdir.hxx +++ b/include/editeng/frmdir.hxx @@ -30,7 +30,7 @@ enum SvxFrameDirection FRMDIR_HORI_LEFT_TOP, /** Horizontal, from right to left, from top to bottom - (typical for ararbic/hebrew languages). */ + (typical for arabic/hebrew languages). */ FRMDIR_HORI_RIGHT_TOP, /** Vertical, from top to bottom, from right to left diff --git a/include/rtl/bootstrap.hxx b/include/rtl/bootstrap.hxx index a190a87bd070..8819dece3901 100644 --- a/include/rtl/bootstrap.hxx +++ b/include/rtl/bootstrap.hxx @@ -76,7 +76,7 @@ namespace rtl */ inline Bootstrap(); - /** Opens a bootstrap argment container + /** Opens a bootstrap argument container @see rtl_bootstrap_args_open() */ inline Bootstrap(const rtl::OUString & iniName); diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx index 89faffd09c06..be2896258143 100644 --- a/include/sfx2/msg.hxx +++ b/include/sfx2/msg.hxx @@ -236,7 +236,7 @@ public: const SfxSlot* pNextSlot; // with the same Status-Method const SfxFormalArgument* pFirstArgDef; // first formal Argument-Definition - sal_uInt16 nArgDefCount; // Number of formal Argumentents + sal_uInt16 nArgDefCount; // Number of formal Arguments long nDisableFlags; // DisableFlags that need to be // present, so that the Slot // can be enabled diff --git a/include/svtools/toolpanel/drawerlayouter.hxx b/include/svtools/toolpanel/drawerlayouter.hxx index e35d0dd211c9..6306e7b6c1b5 100644 --- a/include/svtools/toolpanel/drawerlayouter.hxx +++ b/include/svtools/toolpanel/drawerlayouter.hxx @@ -65,7 +65,7 @@ namespace svt virtual void Dying() SAL_OVERRIDE; private: - // triggers a re-arrance of the panel deck elements + // triggers a re-arrange of the panel deck elements void impl_triggerRearrange() const; size_t impl_getPanelPositionFromWindow( const vcl::Window* i_pDrawerWindow ) const; void impl_removeDrawer( const size_t i_nPosition ); diff --git a/include/svx/svdsnpv.hxx b/include/svx/svdsnpv.hxx index fb2fc320ccf3..0f016604a858 100644 --- a/include/svx/svdsnpv.hxx +++ b/include/svx/svdsnpv.hxx @@ -172,7 +172,7 @@ public: bool IsSetPageOrg() const { return (0L != mpPageOriginOverlay); } // HitTest. If sal_True, in rnHelpLineNum is the number of the auxiliary line and in rpPv - // the appendent PageView. + // the appendend PageView. bool PickHelpLine(const Point& rPnt, short nTol, const OutputDevice& rOut, sal_uInt16& rnHelpLineNum, SdrPageView*& rpPV) const; // Move of an available auxiliary line. Use nHelpLineNum and pPV from PickHelpLine. diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx index 29888eb4c1b3..e94ba4488274 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.cxx +++ b/lotuswordpro/source/filter/lwpgrfobj.cxx @@ -649,7 +649,7 @@ void LwpGraphicObject::CreateGrafObject() XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager(); pImage->SetStyleName(pXFStyleManager->AddStyle(pImageStyle).m_pStyle->GetStyleName()); - // set archor to frame + // set anchor to frame pImage->SetAnchorType(enumXFAnchorFrame); // set object name diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 18eb868f465d..20589ad022cc 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -6418,7 +6418,7 @@ void Test::testMixData() ScDocument aClipDoc(SCDOCMODE_CLIP); copyToClip(m_pDoc, ScRange(0,0,0,1,0,0), &aClipDoc); // A1:B1 - // Copy A2:B2 to the mix document (for arithemetic paste). + // Copy A2:B2 to the mix document (for arithmetic paste). ScDocument aMixDoc(SCDOCMODE_CLIP); copyToClip(m_pDoc, ScRange(0,1,0,1,1,0), &aMixDoc); // A2:B2 diff --git a/sc/source/filter/inc/autofilterbuffer.hxx b/sc/source/filter/inc/autofilterbuffer.hxx index b96c753e868c..5a10a2d4ed29 100644 --- a/sc/source/filter/inc/autofilterbuffer.hxx +++ b/sc/source/filter/inc/autofilterbuffer.hxx @@ -144,7 +144,7 @@ public: virtual ApiFilterSettings finalizeImport( sal_Int32 nMaxCount ) SAL_OVERRIDE; private: - /** Apeends the passed filter criteriom, if it contains valid settings. */ + /** Appends the passed filter criteriom, if it contains valid settings. */ void appendCriterion( const FilterCriterionModel& rCriterion ); private: diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx index 42cb740ee0f5..6065dc81c6df 100644 --- a/sc/source/ui/inc/drawview.hxx +++ b/sc/source/ui/inc/drawview.hxx @@ -146,7 +146,7 @@ public: bool GetObjectIsMarked( SdrObject * pObject ); bool SelectCurrentViewObject( const OUString& rName ); - // #i123922# helper which checks if a Graphic may be appied to an existing + // #i123922# helper which checks if a Graphic may be applied to an existing // SdrObject; if it's a SdrGrafObj the fill will be replaced. If it's a // fillable, non-OLE SdrObject, the FillStyle will be adapted SdrObject* ApplyGraphicToObject( diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx index 3aca0c89fefd..14e0afe3de92 100644 --- a/sc/source/ui/inc/impex.hxx +++ b/sc/source/ui/inc/impex.hxx @@ -228,7 +228,7 @@ public: @ATTENTION Note that the string returned may be truncated even inside - a quoted field if some (arbritary) maximum length was reached. + a quoted field if some (arbitrary) maximum length was reached. There currently is no way to exactly determine the conditions, whether this was at a line end, or whether open quotes would have closed the field before the line end, as even a diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 6d2b1a06243f..68756dc14e73 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -196,7 +196,7 @@ private: */ void onUpdateStyleSettings( bool bForceUpdate = false ); - /** this link is called from the vcl applicaten when the stylesettings + /** this link is called from the vcl application when the stylesettings change. Its only purpose is to call onUpdateStyleSettings() then. */ DECL_LINK( AppEventListenerHdl, void * ); diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx index 10c3eca9a5db..4f6610a7e16e 100644 --- a/sd/source/ui/unoidl/unosrch.cxx +++ b/sd/source/ui/unoidl/unosrch.cxx @@ -486,7 +486,7 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( uno::Refere uno::Reference< container::XEnumerationAccess > xEnumAccess( xParent, uno::UNO_QUERY ); - // first we fill the arrys with the position and paragraph for every character + // first we fill the arrays with the position and paragraph for every character // inside the text if( xEnumAccess.is() ) { diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx index ae2f99c74e4f..5f5cc299b865 100644 --- a/sd/source/ui/view/drawview.cxx +++ b/sd/source/ui/view/drawview.cxx @@ -368,7 +368,7 @@ bool DrawView::SetAttributes(const SfxItemSet& rSet, } /** - * Notify for change of site arragement + * Notify for change of site arrangement */ void DrawView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 3aa700332458..3e5258d82569 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -614,7 +614,7 @@ bool SfxHelp::Start_Impl(const OUString& rURL, const vcl::Window* pWindow, const // check if help window is still open // If not, create a new one and return access directly to the internal sub frame showing the help content - // search must be done here; search one desktop level could return an arbitraty frame + // search must be done here; search one desktop level could return an arbitrary frame Reference< XFrame2 > xHelp( xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::CHILDREN), UNO_QUERY); diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx index 9cb9f25ed181..3f762d9796ec 100644 --- a/sot/source/sdstor/stgdir.hxx +++ b/sot/source/sdstor/stgdir.hxx @@ -79,7 +79,7 @@ public: bool Commit(); bool Revert(); - void OpenStream( StgIo&, bool=false ); // set up an approbiate stream + void OpenStream( StgIo&, bool=false ); // set up an appropriate stream void Close(); sal_Int32 GetSize(); bool SetSize( sal_Int32 ); diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index 285536e587ab..46c9fddd7c41 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -757,7 +757,7 @@ SmCaretPosGraphBuildingVisitor::SmCaretPosGraphBuildingVisitor( SmNode* pRootNod //Handle the special case where NTABLE is used a rootnode if( pRootNode->GetType( ) == NTABLE ){ //Children are SmLineNodes - //Or so I thought... Aparently, the children can be instances of SmExpression + //Or so I thought... Apparently, the children can be instances of SmExpression //especially if there's a error in the formula... So he we go, a simple work around. SmNodeIterator it( pRootNode ); while( it.Next( ) ){ diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index 280da5f0a2f5..d94d227b78cb 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -460,7 +460,7 @@ Reference< XInterface > FmFormObj::ensureModelEnv(const Reference< XInterface > OUString aToken = sAccessPath.getToken( 0, '\\', nTokIndex ); sal_uInt16 nIndex = (sal_uInt16)aToken.toInt32(); - // get the DSS of the source form (we have to find an aquivalent for) + // get the DSS of the source form (we have to find an equivalent for) DBG_ASSERT(nIndexgetCount(), "FmFormObj::ensureModelEnv : invalid access path !"); Reference< XPropertySet > xSourceForm; xSourceContainer->getByIndex(nIndex) >>= xSourceForm; diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx index fd0077da5dd0..cf7ee973e620 100644 --- a/svx/source/svdraw/svddrgmt.cxx +++ b/svx/source/svdraw/svddrgmt.cxx @@ -3980,7 +3980,7 @@ bool SdrDragCrop::EndSdrDrag(bool /*bCopy*/) // as it was done before because the top-left of that new rect *will* have an offset // caused by the evtl. existing shear and/or rotation, so calculate a unrotated - // rectangle how it would be as a result when appling the unit coordinate change + // rectangle how it would be as a result when applying the unit coordinate change // to the unrotated original transformation. basegfx::B2DTuple aScale; basegfx::B2DTuple aTranslate; diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 72bfaefa0f79..0eb6c7c53f7b 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -2611,7 +2611,7 @@ void RestoreContent( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bG } } - // the parent needs to grow appropiately + // the parent needs to grow appropriately SwTwips nGrowVal = 0; SwFrm* pLast; do diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index 1f5dd09da113..6a44af044a5c 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -696,7 +696,7 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha awt::Size aSz( rShape->getSize() ); awt::Size aNewSz( 0, 0 ); - // #i71248# ensure we got a XControl before apllying corrections + // #i71248# ensure we got a XControl before applying corrections if(xControl.is()) { if( bMinWidth || bMinHeight ) diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 109a3c29b08d..a69522bcddaa 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -2623,7 +2623,7 @@ WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp(ww::WordVersion eVersion, SvStream* pSt, //one more FC than grrpl entries maEntries.push_back(Entry(Get_Long(pStart))); - //we expect them sorted, but it appears possible for them to arive unsorted + //we expect them sorted, but it appears possible for them to arrive unsorted std::sort(maEntries.begin(), maEntries.end()); mnIdx = 0; diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index c3e0d6baeb4e..3fc289aa4de8 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -471,7 +471,7 @@ void SwIndexMarkPane::InsertMark() pSh->StartAllAction(); // all equal strings have to be selected here so that the - // entry is apllied to all equal strings + // entry is applied to all equal strings if(bApplyAll) { lcl_SelectSameStrings(*pSh, bWordOnly, bCaseSensitive); diff --git a/sw/source/uibase/inc/formatclipboard.hxx b/sw/source/uibase/inc/formatclipboard.hxx index a229e4519bca..a6cb37f054d7 100644 --- a/sw/source/uibase/inc/formatclipboard.hxx +++ b/sw/source/uibase/inc/formatclipboard.hxx @@ -71,7 +71,7 @@ private: /** automatic/named character attribute set */ SfxItemSet* m_pItemSet_TextAttr; /** automatic/named paragraph attribute set - * (it can be caractere attribute applyied to the paragraph) */ + * (it can be character attribute applied to the paragraph) */ SfxItemSet* m_pItemSet_ParAttr; /** table attribute set */ diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index 45c96bad4896..d380cab3d316 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -901,7 +901,7 @@ DateFormat LocaleDataWrapper::scanDateFormatImpl( const OUString& rCode ) { if (areChecksEnabled()) { - OUString aMsg( "LocaleDataWrapper::scanDateFormat: no magic applyable" ); + OUString aMsg( "LocaleDataWrapper::scanDateFormat: no magic applycable" ); outputCheckMessage( appendLocaleInfo( aMsg ) ); } return DMY; diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 08fcbbbf5d3d..34db8a6d7af2 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -4247,7 +4247,7 @@ sal_Int32 PDFWriterImpl::updateOutlineItemCount( std::vector< sal_Int32 >& rCoun sal_Int32 nCount = 0; - if( m_aContext.OpenBookmarkLevels < 0 || // all levels arevisible + if( m_aContext.OpenBookmarkLevels < 0 || // all levels are visible m_aContext.OpenBookmarkLevels >= nItemLevel // this level is visible ) { diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx index 5b369b6f218b..8002fcc11690 100644 --- a/vcl/source/gdi/textlayout.cxx +++ b/vcl/source/gdi/textlayout.cxx @@ -284,7 +284,7 @@ namespace vcl // but no actual painting happens, so our "DrawText( Point, ... )" is never called // In this case, calculate the rect from what OutputDevice::GetTextRect would give us. This has // the disadvantage of less accuracy, compared with the approach to calculate the rect from the - // single "DrawText( Point, ... )" calls, since more intermediate arithmetics will translate + // single "DrawText( Point, ... )" calls, since more intermediate arithmetic will translate // from ref- to target-units. aTextRect = m_rTargetDevice.GetTextRect( aRect, _rText, _nStyle, NULL, this ); } diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index 2ebea2dc44c3..f4f321f2fdc5 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -323,7 +323,7 @@ void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) aLineColor = approachColor(aLineColor, aApproachColor); rRenderContext.SetLineColor(aLineColor); - // switch aproach color + // switch approach color if (aApproachColor.IsRGBEqual(aLineColor)) { if (aApproachColor.GetRed()) diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 24853beadaab..c6dcab3e2512 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -1018,7 +1018,7 @@ void XMLMetaFieldImportContext::InsertMeta( * * All *-mark-end index marks should instantiate *this* class (because * it doesn't process attributes other than ID), while the *-mark and - * *-mark-start classes should instantiate the apporpiate subclasses. + * *-mark-start classes should instantiate the appropriate subclasses. */ class XMLIndexMarkImportContext_Impl : public SvXMLImportContext { -- cgit v1.2.3