This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9d12c51  Remove 'old-style' shadow from Writer document area. TODO: 
Cleanup code
9d12c51 is described below

commit 9d12c51fa1a1c1f5d69b792b73aae71e86afff00
Author: mseidel <msei...@apache.org>
AuthorDate: Tue Sep 7 13:13:28 2021 +0200

    Remove 'old-style' shadow from Writer document area. TODO: Cleanup code
---
 main/sw/source/core/layout/paintfrm.cxx | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/main/sw/source/core/layout/paintfrm.cxx 
b/main/sw/source/core/layout/paintfrm.cxx
index 9a1cc36..21dc0cb 100644
--- a/main/sw/source/core/layout/paintfrm.cxx
+++ b/main/sw/source/core/layout/paintfrm.cxx
@@ -5550,19 +5550,19 @@ const sal_Int8 SwPageFrm::mnShadowPxWidth = 2;
     _pViewShell->GetOut()->DrawRect( aPaintRect.SVRect() );
 
     // paint right shadow
-    if ( bPaintRightShadow )
-    {
-        _pViewShell->GetOut()->SetFillColor( rColor );
-        SwPageFrm::GetRightShadowRect( _rPageRect, _pViewShell, aPaintRect, 
bRightSidebar );
-        _pViewShell->GetOut()->DrawRect( aPaintRect.SVRect() );
-    }
+//    if ( bPaintRightShadow )
+//    {
+//        _pViewShell->GetOut()->SetFillColor( rColor );
+//        SwPageFrm::GetRightShadowRect( _rPageRect, _pViewShell, aPaintRect, 
bRightSidebar );
+//        _pViewShell->GetOut()->DrawRect( aPaintRect.SVRect() );
+//    }
 
     // paint bottom shadow
-    SwPageFrm::GetBottomShadowRect( _rPageRect, _pViewShell, aPaintRect, 
bRightSidebar );
-    _pViewShell->GetOut()->DrawRect( aPaintRect.SVRect() );
+//    SwPageFrm::GetBottomShadowRect( _rPageRect, _pViewShell, aPaintRect, 
bRightSidebar );
+//    _pViewShell->GetOut()->DrawRect( aPaintRect.SVRect() );
 
-    _pViewShell->GetOut()->SetFillColor( aFill );
-    _pViewShell->GetOut()->SetLineColor( aLine );
+//    _pViewShell->GetOut()->SetFillColor( aFill );
+//    _pViewShell->GetOut()->SetLineColor( aLine );
 }
 
 //mod #i6193# paint sidebar for notes

Reply via email to