summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-25 11:16:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-26 09:38:16 +0200
commit37976a6eac90e0fdac01ea2ca997bb9c02b51c57 (patch)
treed3bdfcd269fc3eda52ae29d35de7426947fd4595
parenteaf4d66dc7a1d1d0a48b5c434db7c9588f5fa568 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I9d95e990c77a7b40046990433b95fccdf0013fc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103421 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sw/source/core/layout/pagechg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index d9d672afaee9..eee3bfb9ade5 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -1449,9 +1449,9 @@ void SwRootFrame::RemoveSuperfluous()
// attached to generic content it is also superfluous (checking DocBody should be enough)
// OD 19.06.2003 #108784# - consider that drawing objects in
// header/footer are supported now.
- bool bOnlySuperfluosObjs = true;
+ bool bOnlySuperfluousObjs = true;
SwSortedObjs &rObjs = *pPage->GetSortedObjs();
- for ( size_t i = 0; bOnlySuperfluosObjs && i < rObjs.size(); ++i )
+ for ( size_t i = 0; bOnlySuperfluousObjs && i < rObjs.size(); ++i )
{
// #i28701#
SwAnchoredObject* pAnchoredObj = rObjs[i];
@@ -1460,10 +1460,10 @@ void SwRootFrame::RemoveSuperfluous()
pAnchoredObj->GetDrawObj()->GetLayer() ) &&
!pAnchoredObj->GetAnchorFrame()->FindFooterOrHeader() )
{
- bOnlySuperfluosObjs = false;
+ bOnlySuperfluousObjs = false;
}
}
- bExistEssentialObjs = !bOnlySuperfluosObjs;
+ bExistEssentialObjs = !bOnlySuperfluousObjs;
}
// OD 19.06.2003 #108784# - optimization: check first, if essential objects