summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-05-25 12:10:06 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-05-25 13:30:54 +0200
commit7ed0993b9c2de38dfe2e71df15755b495f9a2299 (patch)
treeadb60cd9ded5214004c563a34c6749383ca83556 /sw
parent94181db5c3ed607042dd1b0ea029f54ac8238cf1 (diff)
Fix typos
Change-Id: I7c94080396dae767079a968cdda74449a144a947 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94655 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/htmlexport/htmlexport.cxx2
-rw-r--r--sw/source/uibase/shells/basesh.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx
index 512fd4c070cb..aa92fd90ddd6 100644
--- a/sw/qa/extras/htmlexport/htmlexport.cxx
+++ b/sw/qa/extras/htmlexport/htmlexport.cxx
@@ -1101,7 +1101,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testMultiParaListItem)
assertXPathContent(pXmlDoc, "//reqif-xhtml:ol/reqif-xhtml:li[2]/reqif-xhtml:p[1]", "B");
// Without the accompanying fix in place, this test would have failed with:
// XPath '//reqif-xhtml:ol/reqif-xhtml:li[2]/reqif-xhtml:p[2]' not found
- // i.e. </li> was writen before "C", not after "C", so "C" was not in the 2nd list item.
+ // i.e. </li> was written before "C", not after "C", so "C" was not in the 2nd list item.
assertXPathContent(pXmlDoc, "//reqif-xhtml:ol/reqif-xhtml:li[2]/reqif-xhtml:p[2]", "C");
assertXPathContent(pXmlDoc, "//reqif-xhtml:ol/reqif-xhtml:li[3]/reqif-xhtml:p", "D");
}
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 99f610eb9c82..64fd150e1700 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -2520,7 +2520,7 @@ void SwBaseShell::ExecDlg(SfxRequest &rReq)
{
const size_t nCurIdx = rSh.GetCurPageDesc();
const SwPageDesc& rPageDesc = rSh.GetPageDesc( nCurIdx );
- // Temporary view, because the shell does not need to be valid after the dialogue
+ // Temporary view, because the shell does not need to be valid after the dialog
// for example disable header
SwView& rTempView = GetView();