summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-25 12:10:32 +0000
committerAndras Timar <andras.timar@collabora.com>2022-05-31 15:43:27 +0200
commit1e3699c759a675c0083b084516afa94862cbd68c (patch)
treedda86c8371b19ac00eb59446d45cd121f2ce66bb /sw
parent6f328d657de5681abac07d7d4beac44bd03ba3b5 (diff)
forcepoint#89 don't remove page with footnote continuation frame
in browse/html/web mode Change-Id: Ic821dd7f2cc1f47305b5fe2ced16d5168aedc0b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132045 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit e672a8351df5e9fcbdafa34857a16f2bd547ebd6)
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/layact.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 33b1ae277180..2a08b22fbcdb 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -304,7 +304,8 @@ bool SwLayAction::RemoveEmptyBrowserPages()
do
{
if ( (pPage->GetSortedObjs() && pPage->GetSortedObjs()->size()) ||
- pPage->ContainsContent() )
+ pPage->ContainsContent() ||
+ pPage->FindFootnoteCont() )
pPage = static_cast<SwPageFrame*>(pPage->GetNext());
else
{