diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-01-15 09:05:43 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-01-16 14:23:52 +0100 |
commit | f0b857310dd564356a6ff7854bdc42cb677989f9 (patch) | |
tree | 701b4f99e1e74d45f631b3a0906881c25bf57bb4 /sw | |
parent | ecd855794b22c0f7e6fb2f362b566c4d9c5f624a (diff) |
Fix typos
Change-Id: Ia976371bf52eb1216d8abe728d80bbb87a3c38a2
Reviewed-on: https://gerrit.libreoffice.org/47858
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport6.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/txtnode/thints.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx index 7aee53251a13..8e3dc06c708e 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx @@ -442,7 +442,7 @@ DECLARE_OOXMLEXPORT_TEST(testChartInFooter, "chart-in-footer.docx") uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY); if (xDrawPageSupplier.is()) { - // If xDrawPage->getCount()==1, then document conatins one shape. + // If xDrawPage->getCount()==1, then document contains one shape. uno::Reference<container::XIndexAccess> xDrawPage(xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY); CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xDrawPage->getCount()); // One shape in the doc } diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx index 880d05aafbb6..837111995c79 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx @@ -620,7 +620,7 @@ DECLARE_OOXMLEXPORT_TEST(testBehinddoc, "behinddoc.docx") DECLARE_OOXMLEXPORT_TEST(testSmartArtAnchoredInline, "fdo73227.docx") { - /* Given file conatins 3 DrawingML objects as 1Picture,1SmartArt and 1Shape. + /* Given file contains 3 DrawingML objects as 1Picture,1SmartArt and 1Shape. * Check for SmartArt. * SmartArt should get written as "Floating Object" i.e. inside <wp:anchor> tag. * Also check for value of attribute "id" of <wp:docPr>. It should be unique for diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx index fab775935801..fb41c037a76e 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx @@ -569,7 +569,7 @@ DECLARE_OOXMLEXPORT_TEST(testFdo81492, "fdo81492.docx") DECLARE_OOXMLEXPORT_TEST(testEditTime, "fdo81341.docx") { /* Issue was LO was not able to Import and Export EditTime in seconds format. - * It was supporting Time in "HH:MM" format. But if DOCX conatins Time in seconds, + * It was supporting Time in "HH:MM" format. But if DOCX contains Time in seconds, * then LO was not able to display time in "HH:MM:SS" format. * While exporting LO was writing plain text instead of field entry. */ diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 5c9f3e1371fc..111c873b352c 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -341,7 +341,7 @@ after the CH_TXTATR). It would probably be a bad idea to add another nesting hint without CH_TXTATR; on the other hand, it would be difficult adding a CH_TXTATR to RES_TXTATR_INETFMT and RES_TXTATR_CJK_RUBY, due to the overwriting and -splitting of exising hints that is necessary for backward compatibility. +splitting of existing hints that is necessary for backward compatibility. @param rNode the text node @param rHint the hint to be inserted @@ -546,7 +546,7 @@ SwpHints::TryInsertNesting( SwTextNode & rNode, SwTextAttrNesting & rNewHint ) { assert((nOtherStart < nNewStart) || (nNewEnd < nOtherEnd)); // scenario: there is a RUBY, and contained within that a META; - // now a RUBY is inserted within the META => the exising RUBY is split: + // now a RUBY is inserted within the META => the existing RUBY is split: // here it is not possible to simply insert the left/right fragment // of the existing RUBY because they <em>overlap</em> with the META! Delete( *itOther ); // this also does NoteInHistory! diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 72a1fc372439..889f0c4b2d89 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -4458,7 +4458,7 @@ void DocxAttributeOutput::DefaultStyle() SAL_INFO("sw.ww8", "TODO DocxAttributeOutput::DefaultStyle()"); } -/* Writes <a:srcRect> tag back to document.xml if a file conatins a cropped image. +/* Writes <a:srcRect> tag back to document.xml if a file contains a cropped image. * NOTE : Tested on images of type JPEG,EMF/WMF,BMP, PNG and GIF. */ void DocxAttributeOutput::WriteSrcRect(const SdrObject* pSdrObj, const SwFrameFormat* pFrameFormat ) |