summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 8a6516b0714c..ef249c60ac3d 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1057,8 +1057,7 @@ bool SlideshowImpl::startShowImpl( const Sequence< beans::PropertyValue >& aProp
{
BitmapEx waitSymbolBitmap(BMP_WAIT_ICON);
const Reference<rendering::XBitmap> xBitmap(
- vcl::unotools::xBitmapFromBitmapEx(
- xSpriteCanvas->getDevice(), waitSymbolBitmap ) );
+ vcl::unotools::xBitmapFromBitmapEx( waitSymbolBitmap ) );
if (xBitmap.is())
{
mxShow->setProperty(
@@ -1070,8 +1069,7 @@ bool SlideshowImpl::startShowImpl( const Sequence< beans::PropertyValue >& aProp
BitmapEx pointerSymbolBitmap(BMP_POINTER_ICON);
const Reference<rendering::XBitmap> xPointerBitmap(
- vcl::unotools::xBitmapFromBitmapEx(
- xSpriteCanvas->getDevice(), pointerSymbolBitmap ) );
+ vcl::unotools::xBitmapFromBitmapEx( pointerSymbolBitmap ) );
if (xPointerBitmap.is())
{
mxShow->setProperty(