summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 17:13:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 08:33:39 +0100
commit1ecdddcc32ce2b003fca43ac2c5ef0668afef8dd (patch)
tree40d202cc79977e5f4f4aa9a010d55dc72a4a3d1f /svtools
parentdd9c17ae211a8171a7dc84acd9c9dc17cc5b8c48 (diff)
loplugin:constantparam in vcl
Change-Id: Ic32e4098dcdae5ca5d7fe2749badedabda86a90d Reviewed-on: https://gerrit.libreoffice.org/44043 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/provider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx
index 8ac3a885d7ef..de7a2dff928c 100644
--- a/svtools/source/graphic/provider.cxx
+++ b/svtools/source/graphic/provider.cxx
@@ -177,7 +177,7 @@ uno::Reference< ::graphic::XGraphic > GraphicProvider::implLoadRepositoryImage(
{
OUString sPathName( rResourceURL.copy( nIndex ) );
BitmapEx aBitmap;
- if ( vcl::ImageRepository::loadImage( sPathName, aBitmap, false ) )
+ if ( vcl::ImageRepository::loadImage( sPathName, aBitmap ) )
{
xRet = Graphic(aBitmap).GetXGraphic();
}