[Libreoffice-commits] core.git: vcl/source
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 12 11:07:26 UTC 2019
vcl/source/outdev/rect.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit f088d85f80c643378262a1f53bdea6f42abcf7d4
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Thu Nov 7 16:17:57 2019 +0200
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Nov 12 12:06:17 2019 +0100
Revert "Drawing calc grid misses pixels on bottom and right."
This reverts commit 4a3dab5a4cd5c7a7039b2cef9d5bb14c1fff49c9.
Change-Id: I1ac1edca00e4d1d62f93de48561a3b6ce4a315aa
Reviewed-on: https://gerrit.libreoffice.org/82221
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/vcl/source/outdev/rect.cxx b/vcl/source/outdev/rect.cxx
index 2bdc7abb793b..ecbeb12fbfee 100644
--- a/vcl/source/outdev/rect.cxx
+++ b/vcl/source/outdev/rect.cxx
@@ -219,10 +219,6 @@ void OutputDevice::DrawGrid( const tools::Rectangle& rRect, const Size& rDist, D
tools::Rectangle aDstRect( PixelToLogic( Point() ), GetOutputSize() );
aDstRect.Intersection( rRect );
- // FIXME: seems we have an off-by-one around the border
- // here with the cairo / svp backend at least.
- aDstRect.AdjustRight(1);
- aDstRect.AdjustBottom(1);
if( aDstRect.IsEmpty() || ImplIsRecordLayout() )
return;
More information about the Libreoffice-commits
mailing list