Revert "Drawing calc grid misses pixels on bottom and right."
This reverts commit 4a3dab5a4c
.
Change-Id: I1ac1edca00e4d1d62f93de48561a3b6ce4a315aa
Reviewed-on: https://gerrit.libreoffice.org/82221
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user