diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-25 12:10:32 +0000 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-13 14:14:26 +0200 |
commit | 90557911cf1b736075baa803d5a682aaa0a001bc (patch) | |
tree | 6d2d60ca63c2a157e785149b5298f51bd9bdfdba | |
parent | e86dd668337bf10ae5b6a25c03f82aab3d95aa34 (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)
(cherry picked from commit 6a02b33e429c85c3425b6e92766a2346a1271ced)
-rw-r--r-- | sw/source/core/layout/layact.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index e26c4fd3bafe..b1e029207eb0 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -298,7 +298,8 @@ bool SwLayAction::RemoveEmptyBrowserPages() do { if ( (pPage->GetSortedObjs() && pPage->GetSortedObjs()->size()) || - pPage->ContainsContent() ) + pPage->ContainsContent() || + pPage->FindFootnoteCont() ) pPage = static_cast<SwPageFrame*>(pPage->GetNext()); else { |