summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-11-22 10:01:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-11-22 21:05:03 +0100
commit528af529decf3ef28507ce4eaf26759547cb021d (patch)
treea8dd1e320e15df10059a4b89bd2c96b0400896ca /sw
parentccec42fa987a8bf946d3e8384143e23d1facce6c (diff)
Fix typos
Change-Id: I89ffb8e99aef3e71f723d25a757a26520dcdf71a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106337 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/layout/layout2.cxx2
-rw-r--r--sw/source/core/doc/textboxhelper.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/layout/layout2.cxx b/sw/qa/extras/layout/layout2.cxx
index 7fd1ec915c16..fad78d5bb7ea 100644
--- a/sw/qa/extras/layout/layout2.cxx
+++ b/sw/qa/extras/layout/layout2.cxx
@@ -2545,7 +2545,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf137185)
CPPUNIT_ASSERT_EQUAL(OUString("Align me!"), xTextFrame->getText()->getString());
CPPUNIT_ASSERT_EQUAL(OUString(), xTxt->getText()->getString());
- // Before the patch it failled, because the text appeared 2 times on each other.
+ // Before the patch it failed, because the text appeared 2 times on each other.
}
CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf135035)
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index 14fa5932bf51..476089bc8723 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -58,7 +58,7 @@ void SwTextBoxHelper::create(SwFrameFormat* pShape, bool bCopyText)
if (pShape->GetAttrSet().HasItem(RES_CNTNT) && pShape->GetOtherTextBoxFormat())
return;
- // Store the current text conent of the shape
+ // Store the current text content of the shape
OUString sCopyableText;
if (bCopyText)