From f0bc159124672f695f3d6135eef6dfca2b07bb09 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 3 Oct 2026 00:13:21 +0200 Subject: [PATCH] Fix typos Change-Id: I2f3539c4536a090ccb827e12a39f4718a73fe4fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211771 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- sw/qa/extras/ooxmlexport/ooxmlexport19.cxx | 4 ++-- sw/source/core/doc/DocumentContentOperationsManager.cxx | 2 +- sw/source/core/doc/tblcpy.cxx | 2 +- sw/source/core/layout/findfrm.cxx | 2 +- sw/source/filter/ww8/ww8atr.cxx | 2 +- sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx | 2 +- vcl/inc/pdf/pdfwriter_impl.hxx | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport19.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport19.cxx index 4607f172ecaf..d6d6e3137530 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport19.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport19.cxx @@ -483,7 +483,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf169024_verticalTopFrame) // gets exported as 'bottom' in DOCX, and import maps 'bottom' to top of Line of Text again auto verify = [this]() { - // To Character anchored Line of Text need to be LINE_TOP in order for the GUI to pick it up + // To Character anchored Line of Text needs to be LINE_TOP in order for the GUI to pick it up CPPUNIT_ASSERT_EQUAL(text::RelOrientation::TEXT_LINE, getProperty(getShape(1), u"VertOrientRelation"_ustr)); CPPUNIT_ASSERT_EQUAL(text::VertOrientation::LINE_TOP, @@ -508,7 +508,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf169024) createSwDoc("tdf90153.docx"); //saveAndReload(TestFilter::DOCX); - // To Character anchored Line of Text need to be LINE_BOTTOM in order for the GUI to pick it up + // To Character anchored Line of Text needs to be LINE_BOTTOM in order for the GUI to pick it up CPPUNIT_ASSERT_EQUAL(text::RelOrientation::TEXT_LINE, getProperty(getShape(1), u"VertOrientRelation"_ustr)); CPPUNIT_ASSERT_EQUAL(text::VertOrientation::LINE_BOTTOM, diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index 4900cdbff110..dffebc8950a7 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -2187,7 +2187,7 @@ void DocumentContentOperationsManager::DeleteDummyChar( void DocumentContentOperationsManager::DeleteRange( SwPaM & rPam ) { - // Seek all redlines that are in that PaM to be deleted.. + // Seek all redlines that are in that PaM to be deleted. SwRedlineTable::size_type nRedlStart = m_rDoc.getIDocumentRedlineAccess().GetRedlinePos( rPam.Start()->GetNode(), RedlineType::Any); SwRedlineTable::size_type nRedlEnd = m_rDoc.getIDocumentRedlineAccess().GetRedlineEndPos( diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx index 3ee04912120e..fd8fa474abb3 100644 --- a/sw/source/core/doc/tblcpy.cxx +++ b/sw/source/core/doc/tblcpy.cxx @@ -509,7 +509,7 @@ static void lcl_CpyBox( const SwTable& rCpyTable, const SwTableBox* pCpyBox, // The text that arrives with the copy will be recalculated based on the formula, // and that would eliminate the tracked change from the cell anyway. // TODO: if we want tracked changes to work on it, we should create a new type of - // tracked change that track the formula changes, not the cell values changes. + // tracked change that tracks the formula changes, not the cell value changes. const bool bTrackChanges = !pCpyBox || SfxItemState::SET != pCpyBox->GetFrameFormat()->GetItemState( RES_BOXATR_FORMULA, false ); diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx index 92debcf4216f..24b464df097b 100644 --- a/sw/source/core/layout/findfrm.cxx +++ b/sw/source/core/layout/findfrm.cxx @@ -424,7 +424,7 @@ const SwLayoutFrame *SwFrame::ImplGetNextLayoutLeaf( bool bFwd ) const if ( !bGoingDown ) { // I cannot go down, because either I'm currently going up or - // because the is no lower. + // because there is no lower. // I'll try to go forward: p = lcl_FindLayoutFrame( pFrame, bFwd ); bGoingFwdOrBwd = nullptr != p; diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 2d6f9783e314..29a0fd68fb25 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -3763,7 +3763,7 @@ static bool lcl_IsAtTextEnd(const SwFormatFootnote& rFootnote) pSectNd = pSectNd->StartOfSectionNode()->FindSectionNode(); if (!pSectNd) - bRet = false; // the is ftn/end collected at Page- or Doc-End + bRet = false; // this is ftn/end collected at Page- or Doc-End } return bRet; } diff --git a/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx b/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx index b015ec1112bb..0a09997434a3 100644 --- a/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx +++ b/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx @@ -7517,7 +7517,7 @@ void DomainMapper_Impl::handleToc OUString sFigureSequence; OUString aBookmarkName; -// \a Builds a table of figures but does not include the captions's label and number +// \a Builds a table of figures but does not include the captions' label and number if( lcl_FindInCommand( pContext->GetCommand(), 'a', sValue )) { //make it a table of figures bTableOfFigures = true; diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx index c0b31a636aef..693ae7d0de5a 100644 --- a/vcl/inc/pdf/pdfwriter_impl.hxx +++ b/vcl/inc/pdf/pdfwriter_impl.hxx @@ -857,7 +857,7 @@ private: AlphaMask m_aAlphaMask; }; - /// Cache some most recent bitmaps we've exported, in case we encounter them again.. + /// Cache some most recent bitmaps we've exported, in case we encounter them again. o3tl::lru_map> m_aPDFBmpCache; sal_Int32 m_nCurrentPage;