Bugzilla – Attachment 84523 Details for
Bug 65924
Regression in drawing the shadow around document in Writer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
reverting just those restores the border
0001-Revert-changes-to-discreteshadowprimitive-values.patch (text/plain), 2.72 KB, created by
Caolán McNamara
on 2013-08-23 15:26:25 UTC
(
hide
)
Description:
reverting just those restores the border
Filename:
MIME Type:
Creator:
Caolán McNamara
Created:
2013-08-23 15:26:25 UTC
Size:
2.72 KB
patch
obsolete
>From aea6c254580b9cd0631630be7fbb18b6c49c48a9 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> >Date: Fri, 23 Aug 2013 16:24:10 +0100 >Subject: [PATCH] Revert changes to discreteshadowprimitive values > >Change-Id: I69465e1835b69b643de019b046a871a3ddab483f >--- > drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx b/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx >index a325690..2aad8d5 100644 >--- a/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx >+++ b/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx >@@ -70,7 +70,7 @@ namespace drawinglayer > const sal_Int32 nQuarter((getBitmapEx().GetSizePixel().Width() - 3) >> 2); > const_cast< DiscreteShadow* >(this)->maTop = getBitmapEx(); > const_cast< DiscreteShadow* >(this)->maTop.Crop( >- Rectangle(Point((nQuarter * 2) + 1, 0), Size(1, nQuarter))); >+ Rectangle(Point((nQuarter * 2) + 1, 0), Size(1, nQuarter + 1))); > } > > return maTop; >@@ -96,7 +96,7 @@ namespace drawinglayer > const sal_Int32 nQuarter((getBitmapEx().GetSizePixel().Width() - 3) >> 2); > const_cast< DiscreteShadow* >(this)->maRight = getBitmapEx(); > const_cast< DiscreteShadow* >(this)->maRight.Crop( >- Rectangle(Point((nQuarter * 3) + 3, (nQuarter * 2) + 1), Size(nQuarter, 1))); >+ Rectangle(Point((nQuarter * 3) + 2, (nQuarter * 2) + 1), Size(nQuarter + 1, 1))); > } > > return maRight; >@@ -122,7 +122,7 @@ namespace drawinglayer > const sal_Int32 nQuarter((getBitmapEx().GetSizePixel().Width() - 3) >> 2); > const_cast< DiscreteShadow* >(this)->maBottom = getBitmapEx(); > const_cast< DiscreteShadow* >(this)->maBottom.Crop( >- Rectangle(Point((nQuarter * 2) + 1, (nQuarter * 3) + 3), Size(1, nQuarter))); >+ Rectangle(Point((nQuarter * 2) + 2, (nQuarter * 2) + 2), Size(1, nQuarter + 1))); > } > > return maBottom; >@@ -148,7 +148,7 @@ namespace drawinglayer > const sal_Int32 nQuarter((getBitmapEx().GetSizePixel().Width() - 3) >> 2); > const_cast< DiscreteShadow* >(this)->maLeft = getBitmapEx(); > const_cast< DiscreteShadow* >(this)->maLeft.Crop( >- Rectangle(Point(0, (nQuarter * 2) + 1), Size(nQuarter, 1))); >+ Rectangle(Point(0, (nQuarter * 2) + 1), Size(nQuarter + 1, 1))); > } > > return maLeft; >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 65924
:
81052
|
81053
| 84523