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

commit cf2047b48da09145d9aec329d02ddae268cb5ffb
Author: mseidel <msei...@apache.org>
AuthorDate: Fri May 6 20:18:51 2022 +0200

    Code cleanup for removing Writer page shadows
---
 main/sw/source/core/layout/paintfrm.cxx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/main/sw/source/core/layout/paintfrm.cxx 
b/main/sw/source/core/layout/paintfrm.cxx
index bdc928d5f4..1989f9e8d8 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,4 +6796,3 @@ Graphic SwDrawFrmFmt::MakeGraphic( ImageMap* )
        }
        return aRet;
 }
-

Reply via email to