You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/05/06 18:19:13 UTC

[openoffice] 02/02: Code cleanup for removing Writer page shadows

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 <ms...@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;
 }
-