sw/source/core/doc/docdesc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0bcce63a97e0d51638746267e11c7a8f4936c9e2 Author: Justin Luth <jl...@mail.com> AuthorDate: Thu Sep 11 06:38:43 2025 -0400 Commit: Justin Luth <jl...@mail.com> CommitDate: Thu Sep 11 15:48:07 2025 +0200 tdf#142785 stashedFooter: fix copy/paste error Change-Id: I1455420a9bc8566648aee8972b47e0408e1255da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190811 Reviewed-by: Justin Luth <jl...@mail.com> Tested-by: Jenkins diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx index 0aaa2d2a246d..5846812e924c 100644 --- a/sw/source/core/doc/docdesc.cxx +++ b/sw/source/core/doc/docdesc.cxx @@ -591,7 +591,7 @@ void SwDoc::ChgPageDesc( size_t i, const SwPageDesc &rChged ) CopyMasterFooter(rChged, pStashedFirstMasterFoot ? pStashedFirstMasterFoot->GetFooter() : rMasterFoot, rDesc, false, true); // Copy first master CopyMasterFooter(rChged, pStashedFirstLeftFoot ? pStashedFirstLeftFoot->GetFooter() : rMasterFoot, rDesc, true, true); // Copy first left - if (pStashedLeftFormat) + if (pStashedLeftFoot) rDesc.RemoveStashedFormat(false, true, false); if (pStashedFirstMasterFoot)