diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2019-11-07 16:17:57 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-11-12 12:06:17 +0100 |
commit | f088d85f80c643378262a1f53bdea6f42abcf7d4 (patch) | |
tree | 3277b7fd339e18d78fb65405ca887e1b35c1109b /vcl | |
parent | b3999abc97db7b54c0d35f87c74826a0b7763658 (diff) |
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@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/rect.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
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; |