summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-22 17:16:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-22 22:17:12 +0100
commit2db9a6813a3640005d9b38e419d5cc55f70b03cc (patch)
tree5b153f09c4e27b4c1611103de267f678c9ef6555 /vcl
parent671aef28cf2b7380113a837df48e6b406f9ba66e (diff)
flush out unused MapModes
Change-Id: I691143162bf9a26171f3ede3bded34c7fb985244 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87207 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/graphic/GraphicObject.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx
index 7f6a343b0050..1cf7ccd8bb0f 100644
--- a/vcl/source/graphic/GraphicObject.cxx
+++ b/vcl/source/graphic/GraphicObject.cxx
@@ -530,7 +530,6 @@ void GraphicObject::DrawTiled( OutputDevice* pOut, const tools::Rectangle& rArea
return;
const MapMode aOutMapMode( pOut->GetMapMode() );
- const MapMode aMapMode( aOutMapMode.GetMapUnit(), Point(), aOutMapMode.GetScaleX(), aOutMapMode.GetScaleY() );
// #106258# Clamp size to 1 for zero values. This is okay, since
// logical size of zero is handled above already
const Size aOutTileSize( ::std::max( 1L, pOut->LogicToPixel( rSize, aOutMapMode ).Width() ),