This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new 120ba44504 Revert "Code cleanup for removing Writer page shadows"
120ba44504 is described below
commit 120ba44504350be1b483c3b327353da84b27d1d8
Author: mseidel <[email protected]>
AuthorDate: Thu May 12 16:39:03 2022 +0200
Revert "Code cleanup for removing Writer page shadows"
This reverts commit cf2047b48da09145d9aec329d02ddae268cb5ffb.
---
main/sw/source/core/layout/paintfrm.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main/sw/source/core/layout/paintfrm.cxx
b/main/sw/source/core/layout/paintfrm.cxx
index 1989f9e8d8..bdc928d5f4 100644
--- a/main/sw/source/core/layout/paintfrm.cxx
+++ b/main/sw/source/core/layout/paintfrm.cxx
@@ -2859,7 +2859,7 @@ SwRootFrm::Paint(SwRect const& rRect, SwPrintData
const*const pPrintData) const
while ( pPage )
{
-// const bool bPaintRightShadow = !bBookMode || (pPage == Lower()) ||
(!bLTR && !pPage->OnRightPage()) || (bLTR && pPage->OnRightPage());
+ const bool bPaintRightShadow = !bBookMode || (pPage == Lower()) ||
(!bLTR && !pPage->OnRightPage()) || (bLTR && pPage->OnRightPage());
const bool bRightSidebar = pPage->SidebarPosition() ==
sw::sidebarwindows::SIDEBAR_RIGHT;
if ( !pPage->IsEmptyPage() )
@@ -6796,3 +6796,4 @@ Graphic SwDrawFrmFmt::MakeGraphic( ImageMap* )
}
return aRet;
}
+