diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx index cfcb8bb0af6c..d929790602c1 100644 --- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx @@ -64,7 +64,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition() // calculate 'vertical' position SwFormatVertOrient aVert( rFrameFormat.GetVertOrient() ); { - // to-frame anchored objects are *only* vertical positioned centered or + // to-frame anchored objects are *only* vertically positioned centered or // bottom, if its wrap mode is 'through' and its anchor frame has fixed // size. Otherwise, it's positioned top. sal_Int16 eVertOrient = aVert.GetVertOrient(); @@ -218,7 +218,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition() } } // end of determination of horizontal position - // keep calculate relative position + // keep calculated relative position maRelPos = aRelPos; } diff --git a/sw/source/core/text/portox.cxx b/sw/source/core/text/portox.cxx index f845c125cc84..d0cb207fc303 100644 --- a/sw/source/core/text/portox.cxx +++ b/sw/source/core/text/portox.cxx @@ -45,7 +45,7 @@ SwTwips SwIsoToxPortion::GetViewWidth(const SwTextSizeInfo& rInf) const // Although we are const, nViewWidth should be calculated in the last // moment possible SwIsoToxPortion* pThis = const_cast(this); - // nViewWidth need to be calculated + // nViewWidth needs to be calculated if( !Width() && rInf.OnWin() && !rInf.GetOpt().IsPagePreview() && !rInf.GetOpt().IsReadonly() && rInf.GetOpt().IsFieldShadings() ) diff --git a/sw/source/core/txtnode/GrammarContact.cxx b/sw/source/core/txtnode/GrammarContact.cxx index 969e54fc6159..0a1eb6c602da 100644 --- a/sw/source/core/txtnode/GrammarContact.cxx +++ b/sw/source/core/txtnode/GrammarContact.cxx @@ -112,7 +112,7 @@ SwGrammarMarkUp* GrammarContact::getGrammarCheck( SwTextNode& rTextNode, bool bC } else { - pRet = rTextNode.GetGrammarCheck(); // do you have already a list? + pRet = rTextNode.GetGrammarCheck(); // do you already have a list? if( bCreate && !pRet ) // do you want to create a list? { pRet = new SwGrammarMarkUp(); @@ -137,7 +137,7 @@ void GrammarContact::finishGrammarCheck( const SwTextNode& rTextNode ) m_aTimer.Start(); // will replace old list and repaint with delay } else if( m_pTextNode->GetGrammarCheck() ) - { // all grammar problems seems to be gone, no delay needed + { // all grammar problems seem to be gone, no delay needed m_pTextNode->ClearGrammarCheck(); SwTextFrame::repaintTextFrames( *m_pTextNode ); } diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx index d1b35d26cc3e..08de9a0f8419 100644 --- a/sw/source/filter/rtf/swparrtf.cxx +++ b/sw/source/filter/rtf/swparrtf.cxx @@ -236,7 +236,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestPDFExportRTF(SvStream& rStream) uno::Reference xOutputStream( new utl::OStreamWrapper(*aTempFile.GetStream(StreamMode::READWRITE))); - // ofz#60533 fuzzer learned to use fo:font-size="842pt" which generate timeouts trying + // ofz#60533 fuzzer learned to use fo:font-size="842pt" which generates timeouts trying // to export thousands of pages from minimal input size uno::Sequence aFilterData( comphelper::InitPropertySequence({ { "PageRange", uno::Any(u"1-100"_ustr) } }));