summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-24 18:06:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-24 20:26:46 +0200
commit3912f173c71e4e7449c59c57a027203967f45673 (patch)
tree6c7d08fd0e47f6f0d6387c7b25f980675ac23a8b /sw
parenta5698f1a0fb8bf8775f1a098ae9ee09de968d632 (diff)
Fix typos
Change-Id: Ibe438af53357be1ca24cc94f2f254e2e35c51881 Reviewed-on: https://gerrit.libreoffice.org/79471 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/doclay.cxx2
-rw-r--r--sw/source/core/text/itrform2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 7ec2417fd2de..1899a9f8a918 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -1307,7 +1307,7 @@ static void lcl_SetNumUsedBit(std::vector<sal_uInt8>& rSetFlags, size_t nFormatS
if (rObj.IsGroupObject())
{
const SdrObjList* pSub(rObj.GetSubList());
- assert(pSub && "IsGroupObject is implented as GetSubList != nullptr");
+ assert(pSub && "IsGroupObject is implemented as GetSubList != nullptr");
const size_t nCount = pSub->GetObjCount();
for (size_t i = 0; i < nCount; ++i)
{
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index f03d93087732..64eeddd149bf 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -2316,7 +2316,7 @@ void SwTextFormatter::CalcFlyWidth( SwTextFormatInfo &rInf )
{
// Intersects with the frame area (with upper margin), but not with the print area (without
// upper margin). Don't reserve space for the fly portion in this case, text is allowed to
- // folow there.
+ // follow there.
aInter.Height(0);
}