From d88bd04812f298fe9da6be1de60bb23ee64f0832 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 20 Nov 2021 12:27:23 +0100 Subject: Fix typos Change-Id: I21161022d1b1e09eeccd39169577992c2ec2d47a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125586 Tested-by: Jenkins Reviewed-by: Julien Nabet --- sw/qa/extras/ooxmlexport/ooxmlexport17.cxx | 6 +++--- sw/source/uibase/utlui/content.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx index a8a6029392f0..c711a6b2a10b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport17.cxx @@ -103,10 +103,10 @@ DECLARE_OOXMLEXPORT_TEST(testTdf123642_BookmarkAtDocEnd, "tdf123642.docx") CPPUNIT_ASSERT_EQUAL(static_cast(1), xBookmarksByIdx->getCount()); CPPUNIT_ASSERT(xBookmarksByName->hasByName("Bookmark1")); - // and it is really in exprted DOCX (let's ensure) + // and it is really in exported DOCX (let's ensure) xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml"); if (!pXmlDoc) - return; // initial import, no futher checks + return; // initial import, no further checks CPPUNIT_ASSERT_EQUAL(OUString("Bookmark1"), getXPath(pXmlDoc, "/w:document/w:body/w:p[2]/w:bookmarkStart[1]", "name")); } @@ -124,7 +124,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf81507, "tdf81507.docx") { xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml"); if (!pXmlDoc) - return; // initial import, no futher checks + return; // initial import, no further checks // Ensure that we have CPPUNIT_ASSERT_EQUAL(OUString("1"), getXPath(pXmlDoc, "/w:document/w:body/w:sdt[1]/w:sdtPr/w:text", "multiLine")); diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 1d18fa291da1..0dbbd73949cc 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -3878,13 +3878,13 @@ void SwContentTree::UpdateTracking() } else { - // prevent fall thru to outline tracking when section tracking is off and the last + // prevent fall through to outline tracking when section tracking is off and the last // GotoContent is the current section if (m_nLastSelType == ContentTypeId::REGION && m_xTreeView->get_selected_text() == pSection->GetSectionName()) return; } - // fall thru to outline tracking when section tracking is off and the last GotoContent + // fall through to outline tracking when section tracking is off and the last GotoContent // is not the current section } } -- cgit