sw/source/core/layout/pagechg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 37976a6eac90e0fdac01ea2ca997bb9c02b51c57 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Fri Sep 25 11:16:59 2020 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat Sep 26 09:38:16 2020 +0200 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 <serval2...@yahoo.fr> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits