summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 12:52:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 07:17:51 +0200
commitb32ead5dd27c6f2b760e4196ebe0378fb8ec1a69 (patch)
treee647c37f069db3be229a4b89bc44fd21e64128fa /drawinglayer
parent3956e4cb58033cae360beddf97136596ff3bb740 (diff)
loplugin:checkunusedparams more part1
seems I got one of the checks wrong, and was missing a bunch of stuff Change-Id: I2c662fc4e735f8d6cbe56c6f82906a60a580331b Reviewed-on: https://gerrit.libreoffice.org/40481 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx
index 109d0b07b970..8a515b117e4d 100644
--- a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx
+++ b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx
@@ -169,11 +169,9 @@ namespace drawinglayer
if(!aBitmapEx.IsEmpty())
{
- const uno::Reference< rendering::XGraphicDevice > xGraphicDevice;
-
aBitmapEx.SetPrefMapMode(MapMode(MapUnit::Map100thMM));
aBitmapEx.SetPrefSize(Size(basegfx::fround(fWidth), basegfx::fround(fHeight)));
- XBitmap = vcl::unotools::xBitmapFromBitmapEx(xGraphicDevice, aBitmapEx);
+ XBitmap = vcl::unotools::xBitmapFromBitmapEx(aBitmapEx);
}
}
}