summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-15 09:05:43 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-16 14:23:52 +0100
commitf0b857310dd564356a6ff7854bdc42cb677989f9 (patch)
tree701b4f99e1e74d45f631b3a0906881c25bf57bb4 /sw/source
parentecd855794b22c0f7e6fb2f362b566c4d9c5f624a (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/source')
-rw-r--r--sw/source/core/txtnode/thints.cxx4
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
2 files changed, 3 insertions, 3 deletions
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 )