summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-11-20 12:27:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-11-20 19:26:46 +0100
commitd88bd04812f298fe9da6be1de60bb23ee64f0832 (patch)
tree03010283e6fcf6e329bc1416fb3b9d567251011d
parent9b431a9b5532448765908c192225556b16a5d79f (diff)
Fix typos
Change-Id: I21161022d1b1e09eeccd39169577992c2ec2d47a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125586 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport17.cxx6
-rw-r--r--sw/source/uibase/utlui/content.cxx4
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<sal_Int32>(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 <w:text w:multiLine="1"/>
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
}
}