sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx | 2 +- sw/source/filter/ww8/docxexport.cxx | 2 +- writerfilter/source/dmapper/SdtHelper.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 20cd1d36916a55e0f89f39e876a61d52576ee0b1 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Mon Dec 20 12:56:41 2021 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Mon Dec 20 14:33:07 2021 +0100 Fix typos Change-Id: Ib75af11e67cadd3522c2c4b94b0549c8a96b8464 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127150 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> 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\"\ diff --git a/writerfilter/source/dmapper/SdtHelper.hxx b/writerfilter/source/dmapper/SdtHelper.hxx index e58d73168d79..fb458d8d8b94 100644 --- a/writerfilter/source/dmapper/SdtHelper.hxx +++ b/writerfilter/source/dmapper/SdtHelper.hxx @@ -86,7 +86,7 @@ class SdtHelper final : public virtual SvRefBase /// The last stored SDT element is outside paragraphs. bool m_bOutsideAParagraph; - /// Storage for all properties documents as xml::dom::XDocument for later quering xpath for data + /// Storage for all properties documents as xml::dom::XDocument for later querying xpath for data css::uno::Sequence<css::uno::Reference<css::xml::dom::XDocument>> m_xPropertiesXMLs; /// Check if m_xPropertiesXMLs is initialized and loaded (need extra flag to distinguish