diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-12-20 12:56:41 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-12-20 14:33:07 +0100 |
commit | 20cd1d36916a55e0f89f39e876a61d52576ee0b1 (patch) | |
tree | d89aa8b9b0ff8ec723e14f9d6664619225221086 /sw | |
parent | 587c530d13a5427ea6610d68d3db3fde27f50725 (diff) |
Fix typos
Change-Id: Ib75af11e67cadd3522c2c4b94b0549c8a96b8464
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127150
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxexport.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx index 20b212b84a18..f10b17565672 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx @@ -598,7 +598,7 @@ CPPUNIT_TEST_FIXTURE(Test, testSdtCompanyMultipara) { loadAndReload("sdt-company-multipara.docx"); xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml"); - // Here is just imple text node, so there should be either one or zero paragraphs + // Here is just a simple text node, so there should be either one or zero paragraph // (in this case sdt element is inside paragraph) assertXPath(pXmlDoc, "//w:sdtContent/w:p", 0); assertXPath(pXmlDoc, "//w:sdtContent/w:r", 1); diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx index 7b045de907ec..975220690ff6 100644 --- a/sw/source/filter/ww8/docxexport.cxx +++ b/sw/source/filter/ww8/docxexport.cxx @@ -1557,7 +1557,7 @@ static void lcl_UpdateXmlValues(const SdtData& sdtData, const uno::Reference<css uno::Sequence<uno::Any> aArgs{ // XSLT transformation stylesheet: // - write all elements as is - // - but if element mathes sdtData.xpath, replace it's text content by sdtData.xpath + // - but if element matches sdtData.xpath, replace its text content by sdtData.xpath uno::Any(beans::NamedValue("StylesheetText", uno::Any(OUString("<?xml version=\"1.0\" encoding=\"UTF-8\"?> \ <xsl:stylesheet\ xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\ |