sw/source/core/doc/docdesc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3a7f90c992e3235c9974099990ae4e33fc291da0 Author: Justin Luth <[email protected]> AuthorDate: Thu Sep 11 06:38:43 2025 -0400 Commit: Christian Lohmaier <[email protected]> CommitDate: Wed Oct 8 14:13:54 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 <[email protected]> Tested-by: Jenkins (cherry picked from commit 0bcce63a97e0d51638746267e11c7a8f4936c9e2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190819 Reviewed-by: Xisco Fauli <[email protected]> (cherry picked from commit abdfd11e6b0dc814190e13a24bb78479a871aca2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190878 Reviewed-by: Christian Lohmaier <[email protected]> diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx index b03a3558baca..4a8d5dbf0477 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)
