diff --git a/sw/source/core/fields/ddetbl.cxx b/sw/source/core/fields/ddetbl.cxx index 5058d05134a6..b0ef65610d6e 100644 --- a/sw/source/core/fields/ddetbl.cxx +++ b/sw/source/core/fields/ddetbl.cxx @@ -74,7 +74,7 @@ void SwDDETable::ImplDestroy() } } - // If it is the last dependent of the "deleted field" than delete it finally + // If it is the last dependent of the "deleted field" then delete it finally if( m_pDDEType->IsDeleted() && m_pDDEType->HasOnlyOneListener() ) { m_aDepends.EndListeningAll(); diff --git a/sw/source/core/inc/layfrm.hxx b/sw/source/core/inc/layfrm.hxx index 217f8b0c848b..93d7ba3d1f03 100644 --- a/sw/source/core/inc/layfrm.hxx +++ b/sw/source/core/inc/layfrm.hxx @@ -112,7 +112,7 @@ public: * Method doesn't investigate content of footnotes by default. * But under certain circumstances this investigation is intended. * Thus, introduce new optional parameter <_bInvestigateFootnoteForSections>. - * It's default is , still indicating that content of footnotes isn't + * Its default is , still indicating that content of footnotes isn't * investigated for sections. */ const SwFrame *ContainsAny( const bool _bInvestigateFootnoteForSections = false ) const; diff --git a/sw/source/core/layout/dumpfilter.cxx b/sw/source/core/layout/dumpfilter.cxx index b5b0e7676114..c68d36bf16e8 100644 --- a/sw/source/core/layout/dumpfilter.cxx +++ b/sw/source/core/layout/dumpfilter.cxx @@ -29,7 +29,7 @@ namespace { int written = nLen; - // Actually write bytes to XOutputSream + // Actually write bytes to XOutputStream try { uno::XInterface* pObj = static_cast(pContext); @@ -95,7 +95,7 @@ namespace sw { SwRootFrame* pLayout = pXDoc->GetDocShell()->GetWrtShell()->GetLayout(); - // Get sure that the whole layout is processed: set a visible area + // Make sure that the whole layout is processed: set a visible area // even though there isn't any need of it pXDoc->GetDocShell()->GetWrtShell()->StartAction(); tools::Rectangle aRect( 0, 0, 26000, 21000 ); diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 994ddb26c087..84b1ae962e13 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -4041,7 +4041,7 @@ SwRect SwPageFrame::PrtWithoutHeaderAndFooter() const const SwFrame* pLowerFrame = Lower(); while ( pLowerFrame ) { - // Note: independent on text direction page header and page footer are + // Note: independent of text direction, page header and page footer are // always at top respectively at bottom of the page frame. if ( pLowerFrame->IsHeaderFrame() ) { @@ -4078,7 +4078,7 @@ void GetSpacingValuesOfFrame( const SwFrame& rFrame, else { const SvxULSpaceItem& rULSpace = rFrame.GetAttrSet()->GetULSpace(); - // check contextual spacing if the style of actual and next paragraphs are identical + // check contextual spacing if the styles of current and next paragraphs are identical if (bIdenticalStyles) onLowerSpacing = (rULSpace.GetContext() ? 0 : rULSpace.GetLower()); else