summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-25 12:10:32 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2022-05-09 09:50:45 +0200
commit6a02b33e429c85c3425b6e92766a2346a1271ced (patch)
tree31e934e671a18ed396f7343e140b7d579c8d04aa
parentf50deb70824034827b22d84fb7fe783866b91bbe (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)
-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
{