This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new d768558 Remove 'old-style' shadow from Writer document area. TODO:
Cleanup code
d768558 is described below
commit d7685583961ac3424bbaf17530c7c84a59639c17
Author: mseidel <[email protected]>
AuthorDate: Tue Sep 7 13:13:28 2021 +0200
Remove 'old-style' shadow from Writer document area. TODO: Cleanup code
(cherry picked from commit 9d12c51fa1a1c1f5d69b792b73aae71e86afff00)
---
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